A boilerplate using React, React-Redux, React-Router-Dom, Sass, Webpack
- 中文
- English
Make sure you have Node.js >= 18.0.0 installed on your machine.
npm installTo install all the dependencies.
Create a .env.local file in the root directory of the project, the format can refer to the format in the .env.example file, create .env.local for local development, and create .env for the production environment.
npm run startnpm run buildAfter the package is generated, a /dist directory will be generated in the root directory, and the entry file is index.html. Place this directory on the server and use tools such as nginx for configuration.