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
Enter fullscreen mode Exit fullscreen mode

For React (link)

npx html-to-react-components ./index.html
Enter fullscreen mode Exit fullscreen mode

πŸ§™πŸ»β€β™‚οΈ Magic :)

Top comments (0)