roman01la / html-to-react-components

Converts HTML pages into React components
https://roman01la.github.io/html-to-react-components/
MIT License
2.13k stars 136 forks source link

is there debugging mode? #30

Closed adamchenwei closed 6 years ago

adamchenwei commented 6 years ago

I tried to run html2react "./index.html" and get Successfully generated 0 components: and I want to get more data on where go wrong.... or maybe @roman01la you know a way I should dig into the code base and best entry point for this situation?

Thanks!

adamchenwei commented 6 years ago

ah nvm, I frogot to put data-component attribute... also it doesn't seems put back into a page afterward... but very interesting lib thanks!!!