generator-react-native-cross-platform
v0.8.6
Published
Creates two projects within one repository: - Smartphone app (React Native) and desktop app (React Native Web with Electron) - Server in Node.js (Mongoose, Docker, SASS, Express, Handlebars)
Downloads
10
Readme
Yeoman generator for cross-platform React Native development
Creates two projects within one repository:
- Smartphone app (React Native) and desktop app (React Native Web with Electron)
- Server in Node.js (Mongoose, Docker, SASS, Express, Handlebars)
Install and run the generator with yeoman and follow the on-screen prompts
npm install -g github:tbehrsin/generator-react-native-cross-platform yeoman
mkdir my-app
cd my-app
yo react-native-cross-platform
To run the server:
cd my-app-server
yarn start
yarn logs
To run in the iOS simulator:
cd my-app-client
yarn start:ios
To run the desktop client:
cd my-app-client
yarn start:desktop