DEV Community

Cover image for HTML to Angular/React app in single command
Alexey Okhrimenko
Alexey Okhrimenko

Posted on

HTML to Angular/React app in single command

Having a large chunk of HTML and want to convert it to app?

Just augment it with data-component attribute and run a single cli command:

Alt Text

For Angular (link)

npx create-angular-components ./index.html

For React (link)

npx html-to-react-components ./index.html

🧙🏻‍♂️ Magic :)

Discussion (0)