@zero-scripts/preset.webpack-spa.react
v0.5.2
Published
This is the fastest way to get started with React, but you can go with more [flexible way](https://github.com/artemirq/zero-scriptsjs/tree/0.5.x#getting-started-with-spa) and choose the necessary functions yourself.
Downloads
4
Maintainers
Readme
@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.