DEV Community

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

Posted on

3 4

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)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay