0.5.2 • Published 4 years ago
@zero-scripts/preset.webpack-spa.react v0.5.2
@zero-scripts/preset.webpack-spa.react
This is the fastest way to get started with React, but you can go with more flexible way and choose the necessary functions yourself.
Installation
yarn
yarn add @zero-scripts/preset.webpack-spa.react
npm
npm i @zero-scripts/preset.webpack-spa.react
Usage
webpack-react start
Runs the app in development mode. Open http://localhost:3000 to view it in the browser.
The page will automatically reload if you make changes to the code.
webpack-react 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.