All Projects → ozcanzaferayan → React Native Web Template

ozcanzaferayan / React Native Web Template

Licence: mit
Template project for sharing code between iOS, Android & Web using monorepo

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to React Native Web Template

React Native Web Monorepo
Code sharing between iOS, Android & Web using monorepo
Stars: ✭ 697 (+1448.89%)
Mutual labels:  boilerplate, react-native-web, monorepo
Vue Monorepo Boilerplate
Vue Fullstack App Monorepo Boilerplate
Stars: ✭ 136 (+202.22%)
Mutual labels:  boilerplate, monorepo
Reactnativeuniversal
A demonstration of sharing javascript react-native code between mobile, desktop and web environments
Stars: ✭ 178 (+295.56%)
Mutual labels:  boilerplate, react-native-web
Margarita
[not actively maintained] Mobile and Web application implementing Kiwi.com Tequila API
Stars: ✭ 213 (+373.33%)
Mutual labels:  react-native-web, monorepo
Stator
Stator, your go-to template for the perfect stack. 😍🙏
Stars: ✭ 217 (+382.22%)
Mutual labels:  boilerplate, monorepo
expo-next-monorepo-example
Create a universal React app using Expo and Next.js in a monorepo
Stars: ✭ 268 (+495.56%)
Mutual labels:  monorepo, react-native-web
Graphql Starter
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.
Stars: ✭ 3,377 (+7404.44%)
Mutual labels:  boilerplate, monorepo
Express Security
nodejs + express security and performance boilerplate.
Stars: ✭ 37 (-17.78%)
Mutual labels:  boilerplate
Remark Boilerplate
A boilerplate to create presentations using remark, Gulp, Stylus and more.
Stars: ✭ 41 (-8.89%)
Mutual labels:  boilerplate
Relay Fullstack
☝️🏃 Modern Relay Starter Kit - Integrated with Relay, GraphQL, Express, ES6/ES7, JSX, Webpack, Babel, Material Design Lite, and PostCSS
Stars: ✭ 986 (+2091.11%)
Mutual labels:  boilerplate
Figmagic Example
Using Figmagic (simplifying design token generation and asset extraction) with Webpack 5, React 16, Styled Components.
Stars: ✭ 37 (-17.78%)
Mutual labels:  boilerplate
Veluxi Starter
Veluxi Vue.js Starter Project with Nuxt JS and Vuetify
Stars: ✭ 39 (-13.33%)
Mutual labels:  boilerplate
Luya Kickstarter
Kickstart a new LUYA project application.
Stars: ✭ 41 (-8.89%)
Mutual labels:  boilerplate
Web Extension Starter
🖥🔋Web Extension starter to build "Write Once Run on Any Browser" extension
Stars: ✭ 987 (+2093.33%)
Mutual labels:  boilerplate
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (+2157.78%)
Mutual labels:  boilerplate
Boilerplate Dynet Rnn Lm
Boilerplate code for quickly getting set up to run language modeling experiments
Stars: ✭ 37 (-17.78%)
Mutual labels:  boilerplate
Vue Firebase Starter
boilerplate of vue/vuex/vue(x)-router, with sass/prerendering, muse-ui, and firebase/firebaseui
Stars: ✭ 43 (-4.44%)
Mutual labels:  boilerplate
Whitestorm App Boilerplate
[WIP] WhitestormJS 2 App boilerplate
Stars: ✭ 42 (-6.67%)
Mutual labels:  boilerplate
Docker Skeleton Php
A simple Docker PHP development environment
Stars: ✭ 40 (-11.11%)
Mutual labels:  boilerplate
Vue Architecture Boilerplate
Vue.js architecture for front-end projects at @NOALVO
Stars: ✭ 40 (-11.11%)
Mutual labels:  boilerplate

React Native Web Template

React Native template project for creating iOS, Android and Web apps

With this monorepo project, you can develop mobile & web projects with React Native and React Native Web. You can check this Turkish blog about how this project developed.

How this template created?

You can check out this Turkish Github blog post

Usage

OS X:

yarn install
cd packages/mobile
npm install -g wml
wml add ../common ./node_modules/@monorepo/common
open . -a iterm && wml start
open . -a iterm && cd ../common && yarn watch
open . -a iterm && cd ../mobile/ios && pod install && cd ../ && npx react-native run-ios -- --reset-cache
open . -a iterm && cd ../web && yarn start
cd ../../ && code .

Windows:

Notes:

  • wml is not working on windows so you can use Grunt instead of wml.
  • iterm is not exist in windows. Therefore you can use cmder instead of iterm.
  • Cmder has no duplicate tab command. So you can duplicate tabs manually by right clicking current tab and selecting "Restart or duplicate" > "Duplicate root"
yarn install && cd packages/common && npm install grunt --save-dev && npm install grunt-contrib-watch --save-dev && npm install grunt-sync --save && grunt --watch
# Duplicate tab
cd ../common && yarn watch
# Duplicate tab
cd ../mobile && npx react-native run-android -- --reset-cache
# Duplicate tab
cd ../web && yarn start
# Duplicate tab
code .

Adding library to common module

If you added library to common module like react-native-svg, you have to add that library into mobile package. And nohoist array.

{
  "name": "mobile",
  "workspaces": {
    "nohoist": [
      "react-native",
      "react-native/**",
      "react-native-svg",
      "react-native-svg/**"
    ]
  },
  "dependencies": {
    "react": "16.8.6",
    "react-native": "0.60.5",
    "react-native-svg": "^11.0.1"
  }
}

Development setup

For development, you should install these CLI tools:

  • Node ^8.11
  • npm ^6.2.0
  • yarn ^1.22.0
  • wml

Release History

  • 0.1.0
    • The first proper release
    • ADD: Add project files

Meta

Zafer AYAN – @ZaferAyan[email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/ozcanzaferayan/react-native-web-template

Contributing

  1. Fork it (https://github.com/ozcanzaferayan/react-native-web-template)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].