react native template using react-bloc
npm install react-native-template-blocReact Native 项目模板.
``shell`
react-native + typescript + react-bloc + react-navigation
> 将 替换为初始化的项目名称.
`shell`
react-native init
cd
node scripts/index.js
Happy hacking : )
1. 编译typescript文件:
`shell`
yarn build
或
`shell`
npm run build
2. 实时编译typescript文件:
`shell`
yarn watch
或
`shell`
npm run watch
3. 删除生成文件, 重新编译:
`shell`
yarn rebuild
或
`shell``
npm run rebuild