tannguyen208 / react.native

init application react native using dva-core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ”₯πŸ”₯πŸ”₯πŸ”₯ react native app with @tanna

Example

Using

Login screen

Home screen

Home screen

πŸ€” Clone

git clone https://github.com/tannguyen208/react.native.git <your_app_name>
cd <your_app_name>

πŸ€” Installation

Use the package manager tanna to install tanna.

npm install
// or
yarn install

πŸ€” Usage

What simply works for me several times is instructed below.

  1. First copy the directory which your to-be-name-changed application exists. And go to your newly cloned directory.
  2. Change the name at index.ios/android.js file which is given as a parameter to AppRegistry.
  3. Change the name and version accordingly on package.json.
  4. delete /ios and /android folders which are remaining from your older app as well as the app.json file if you have.
  5. Generate /ios and /android folders again, run:
react-native upgrade
  1. For any external dependency, run:
react-native link
  1. Use code push
  2. complete. 🀣

πŸ€” Developer

With android

npm run android 
// or
yarn android

With ios

npm run ios
// or
yarn ios

πŸ€” License

MIT

πŸ€” Version

1.0.0

About

init application react native using dva-core


Languages

Language:JavaScript 83.1%Language:Objective-C 9.2%Language:Python 4.0%Language:Java 3.7%