在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:drminnaar/react-starter开源软件地址:https://github.com/drminnaar/react-starter开源编程语言:JavaScript 84.6%开源软件介绍:React StarterA basic template that consists of the essential elements that are required to start building a React (v16.4) application using Webpack (v4). The template consists of:
Additionaly, the template provides a development and production webpack configuration. The template also allows one to include specific plugins as part of build. Please see here for more detail Developed With
Related Projects
Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. PrerequisitesThe following software is required to be installed on your system:
Type the following commands in the terminal to verify your node and npm versions node -v
npm -v InstallFollow the following steps to get development environment running.
BuildBuild Application
Build Application And Watch For Changes
Build Application With BundleAnalayzer Plugin Included
After running the above command, a browser window will open displaying an interactive graph resembling the following image: Run ESlintLint Project Using ESLintnpm run lint Lint Project Using ESLint, and autofixnpm run lint:fix RunRun StartThis will run the 'serve:dev' npm task npm start Run Dev Servernpm run serve:dev Run Dev Server With Dashboardnpm run serve:dev:dashboard The above command will display a dashboard view in your console resembling the following image: Run Prod ServerThis command will build application using production settings and start the application using live-server npm run serve:prod VersioningI use SemVer for versioning. For the versions available, see the tags on this repository. Authors
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论