Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 939 Bytes

File metadata and controls

49 lines (29 loc) · 939 Bytes

react-mst-sass-webpack-boilerplate

A boilerplate using React, Mobx-State-Tree, React-Router-Dom, Sass, Webpack

Language

Project dependencies

Project dev dependencies

Make sure you have Node.js >= 14.0.0 installed on your machine.

Installation

npm install

create .env.local for local development, and create .env for the production environment.

the format can refer to the format in the .env.example file.

Use process.env.XXX in code to access the values defined there.

Development

npm start

Production

npm run build

After the package is generated, a /dist directory will be generated in the root directory.