|
2 years ago | |
---|---|---|
.idea | 3 years ago | |
build | 3 years ago | |
dist | 3 years ago | |
languages | 3 years ago | |
mock | 4 years ago | |
node_modules | 4 years ago | |
plop-templates | 4 years ago | |
public | 3 years ago | |
src | 2 years ago | |
.env | 3 years ago | |
.eslintignore | 4 years ago | |
.eslintrc.js | 3 years ago | |
.gitignore | 3 years ago | |
Dockerfile | 3 years ago | |
LICENSE | 4 years ago | |
README.md | 3 years ago | |
babel.config.js | 4 years ago | |
jest.config.js | 4 years ago | |
jsconfig.json | 4 years ago | |
nginx.conf | 4 years ago | |
package-lock.json | 3 years ago | |
package.json | 3 years ago | |
plopfile.js | 4 years ago | |
postcss.config.js | 4 years ago | |
vue.config.js | 3 years ago |
# clone the project
git clone http://git.wdklian.com/allen/ncs_ui.git
# enter the project directory
cd ncs_ui
# install dependency
npm install --registry=https://registry.npm.taobao.org
# develop
npm run dev
This will automatically open http://localhost:9527
# build for test environment
npm run build:stage
# build for production environment
npm run build:prod
# preview the release environment effect
npm run preview
# preview the release environment effect + static resource analysis
npm run preview -- --report
# code format check
npm run lint
# code format check and auto fix
npm run lint -- --fix