swantbo / react-h5

react 移动端项目

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

本项目基于Create React App.

react h5 基础模板

可用脚本

yarn start

开发模式运行App。

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

此命令为单向的

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

分析bundle 文件

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

部署

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

react 移动端项目


Languages

Language:JavaScript 87.2%Language:SCSS 8.1%Language:HTML 2.1%Language:Shell 1.5%Language:Dockerfile 0.8%Language:CSS 0.4%