|
2 years ago | |
---|---|---|
build | 2 years ago | |
dist | 2 years ago | |
languages | 2 years ago | |
mock | 2 years ago | |
node_modules | 2 years ago | |
plop-templates | 2 years ago | |
public | 2 years ago | |
src | 2 years ago | |
.eslintignore | 2 years ago | |
.eslintrc.js | 2 years ago | |
.gitignore | 2 years ago | |
Dockerfile | 3 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
babel.config.js | 2 years ago | |
jest.config.js | 2 years ago | |
jsconfig.json | 2 years ago | |
nginx.conf | 4 years ago | |
package-lock-bak.json | 2 years ago | |
package-lock.json | 2 years ago | |
package.json | 2 years ago | |
plopfile.js | 2 years ago | |
postcss.config.js | 2 years ago | |
vue.config.js | 2 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