generator-native-di
v1.1.2
Published
cli สำหรับ react native ที่มีตัวอย่างโครงสร้างพื้นฐานพร้อมใช้งานประกอบไปด้วย package หลักๆ เช่น mobx,moment,lodash และรองรับภาษา es6 และมี di สำหรับสลับ Store ที่จะติดต่อ api กับ fake mockup ที่สร้างขึ้นเอง ^^ สามารถ install project ด้วย คำสั่งของ Yeoman
Downloads
11
Maintainers
Readme
create-native-di
Creates an npm package that is ES6 and React native Ready. react native cli reactor with built-in protocols includes core packages such as native-base, mobx, moment, lodge and ES6 support, and an in-house inject for contacting the api or fake.store. ^^
Installation
First, install Yeoman and Native DI using npm (we assume you have pre-installed node.js).
sudo npm install -g yo
sudo npm install -g generator-native-di
Then generate your new project:
yo native-di
Then install package:
npm install
If your project has any issues with the native folders, you can rebuild them by deleting both the ios and android directories at the root level of your project and running this command:
react-native eject
Then link package react-native-vector-icons, react-native-signature-capture:
react-native link react-native-vector-icons
react-native link react-native-signature-capture
Run project:
npm run ios
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT© Maximumz