Template combile React Native and react-native-web with same structure

Related tags

rn-web-template
Overview

React Native Web Template

Documentation License: MIT

同构react-native和react-native-web的一个template

为什么要用我

  • react-native-web官方没有集成react-native的正式方案
  • 这个template是用react-native init创建的项目,Expo目前就支持原生和web同构,如果你正在用Expo不用考虑这个这个库。
  • typescript配置
  • 网页和原生缩放响应式解决方案
  • 网页和原生共用react-navigation路由配置

用法

npx react-native init MyApp --template rn-web-template

运行

yarn run web

目前对应的react-native和react-native-web版本

React Native react-native web Template
0.64 0.17.1 1.0.*

响应式方案

native web
web native

参考文档

注意事项:React Native CLI

This template only works with the new CLI. Make sure you have uninstalled the legacy react-native-cli first (npm uninstall -g react-native-cli), for the below command to work. If you wish to not use npx, you can also install the new CLI globally (npm i -g @react-native-community/cli or yarn global add @react-native-community/cli).

If you tried the above and still get the react-native-template-react- native-template-typescript: Not found error, please try adding the --ignore-existing flag to the npx call to force npx to ignore any locally installed versions of the CLI.

Further information can be found here: https://github.com/react-native-community/cli#about

Contributing

欢迎贡献加feature

License

This project is MIT licensed.

Releases(1.0.1)
Owner
Theo
Theo
Create-React-App + TypeScript + Ant-Design (without Eject)

This project was bootstrapped with Create React App. Below you will find some information on how to perform common tasks. You can find the most recent

#кодеротбога 111 Sep 13, 2021
Template combile React Native and react-native-web with same structure

React Native Web Template 同构react-native和react-native-web的一个template 为什么要用我 react-native-web官方没有集成react-native的正式方案 这个template是用react-native init创建的项目

Theo 3 Aug 16, 2021
CoreUI React is a free React admin template based on Bootstrap 5

CoreUI Free React Admin Template v4 CoreUI is meant to be the UX game changer. Pure & transparent code is devoid of redundant components, so the app i

CoreUI 3.5k Oct 13, 2021
Corona React - Free Admin Template

Corona React - Free Admin Template Love dark mode? Here’s Corona React, now available as a free template. Don’t let the name scare you, Corona is a sl

BootstrapDash 77 Oct 11, 2021
A ready to use boilerplate for starting [experimental] react projects

material-ui-recoil-template A ready to use boilerplate for starting [experimental] react projects Initialized with Create-React-App flavored with: Mat

innFactory 9 Aug 21, 2021
🔮 Sofia React Template - Admin Dashboard Template built with React

?? Sofia React Template - Admin Dashboard Template built with React

Flatlogic 66 Oct 4, 2021
Datta Able Free Bootstrap 4 Admin Template

Datta Able Free Dashboard Template made using Bootstrap 4 framework, It is a free lite version of Datta Able Pro Dashboard Template that makes you fulfill your Dashboard needs.

CodedThemes 73 Oct 7, 2021
A Vite + React starter template.

Vite Template React A Vite + React starter template. Folder Structure No configuration or complicated folder structures, just the files you need to bu

Safdar Jamal 7 Sep 3, 2021
Berry free react material-ui admin template for easing and faster web development.

Berry is a creative free react admin template build using the Material-UI. It is meant to be the best User Experience with highly customizable feature-riched pages. It is a complete game-changer React Dashboard Template with easy and intuitive responsive design as on retina screens or laptops.

CodedThemes 282 Oct 14, 2021
Berry is a creative free react admin template build using the Material-UI

Berry is a creative free react admin template build using the Material-UI. It is meant to be the best User Experience with highly customizable feature-riched pages. It is a complete game-changer React Dashboard Template with easy and intuitive responsive design as on retina screens or laptops.

CodedThemes 275 Oct 6, 2021
Free React.js Admin template

Azia Admin React is yet another incredible admin template from BootstrapDash that is based on the Bootstrap framework. The template is tastefully designed and coded to perfection. Azia Admin React comes packed with a lot of bootstrap components, UI elements, and built-in sample pages to kick-start your project.

BootstrapDash 32 Oct 11, 2021
Star Admin Free React Template

Star Admin Free React Template Star Admin React is yet another incredible admin template from BootstrapDash that is based on Bootstrap framework. The

BootstrapDash 148 Oct 9, 2021
Volt React is a free and open source admin dashboard template built in React.js and based on the latest version of the Bootstrap 5

Volt React is a free and open source admin dashboard template built in React.js and based on the latest version of the Bootstrap 5 CSS framework. It features over 100 UI elements, plugins, and example based built with React components.

Themesberg 432 Oct 6, 2021
Electron React Boilerplate uses Electron, React, React Router, Webpack and React Fast Refresh.

Electron React Boilerplate uses Electron, React, React Router, Webpack and React Fast Refresh.

Heikki Lotvonen 2 Oct 6, 2021
:fire: A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.

Start your next react project in seconds A highly scalable, offline-first foundation with the best DX and a focus on performance and best practices Cr

react-boilerplate 28k Oct 15, 2021
Get your simple but strongly structured react native starter template

React-Native-Starter-Template Simple but strongly structured react native starter template ?? Why should i use this? It helps you to easily start your

Yusuf (YENİÇERİ) 8 Oct 7, 2021
A Foundation for Scalable Cross-Platform Apps

Electron React Boilerplate uses Electron, React, React Router, Webpack and React Fast Refresh. Install If you have installation or compilation issues

Electron React Boilerplate 18.3k Oct 15, 2021
React Native Web Advanced Template

?? react-native-web-advanced-template ⭐ Features: React Native Web TypeScript React Navigation React Native Elements React Native Vector Icons Other ?

null 10 Sep 28, 2021
Modern React Portfolio Template (FREE)

A clean, beautiful, minimal and responsive portfolio template for Developers! To view a live example, click here. Just change src/yourdata.js to get y

Chetan Verma 380 Oct 15, 2021