react
yarn
webpack
babel
@alifd/next
# sudo npm install -g create-react-app
# create-react-app next-pm
(omitted..)
Initialized a git repository.
Success! Created next-pm at /Users/pengchao/Documents/r/next-pm
Inside that directory, you can run several commands:
yarn start
Starts the development server.
yarn build
Bundles the app into static files for production.
yarn test
Starts the test runner.
yarn eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd next-pm
yarn start
Happy hacking!
# cd next-demo
# yarn start
yarn add @alifd/next
yarn add moment
yarn add react-router-dom
yarn add -D style-loader css-loader sass-loader node-sass
yarn add -D webpack-cli webpack-merge webpack-dev-server clean-webpack-plugin html-webpack-plugin html-webpack-template
yarn add -D @babel/core babel-loader babel-plugin-import @babel/preset-env @babel/preset-react @babel/plugin-proposal-class-properties @babel/plugin-proposal-decorators
yarn dev