HTML to Angular/React app in single command

obenjiro

Alexey Okhrimenko

Posted on August 3, 2020

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 :)

šŸ’– šŸ’Ŗ šŸ™… šŸš©
obenjiro
Alexey Okhrimenko

Posted on August 3, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related