react-native-generator-cli
v0.0.19
Published
react-native generate components CLI
Downloads
7
Maintainers
Readme
Generate Component for react-native
Features
- Generate class component or function component for react-native
- Support TypeScript + JavaScript
Installation
Install from npm
npm install -g react-native-generator-cli plop
npm install -D react-native-generator-cli
Usage
1. Copy script
"scripts": {
...,
"generate": "cd node_modules/react-native-generator-cli && generate && cd ../../"
},
to package.json
2.In cmd
or terminal
run
generate