diegohaz / generact

Generate React components by replicating your own
https://git.io/generact
MIT License
1.48k stars 64 forks source link

Support for react native #21

Closed Shhzdmrz closed 6 years ago

Shhzdmrz commented 6 years ago

Does it support react native project? I added the extension to my vs code and tried in react native project but it was not working not even creating the directory. I also tried with installing generact globally but no use.

diegohaz commented 6 years ago

It should work. Could you share how the files are structured in your project (folders, filenames etc.)?

Shhzdmrz commented 6 years ago

Trying to use Button code to replicate as another component. ├── src/
│ ├── Button/ │ ├── ── index.js │ ├── ── styles.js ├── App.js FYI I am using Windows 10 and using VS Code v1.22.1

diegohaz commented 6 years ago

So this might be the same problem as #15

Will close this in favor of that.