|
hace 1 semana | |
---|---|---|
build | hace 2 años | |
dist | hace 2 meses | |
languages | hace 1 semana | |
mock | hace 2 años | |
plop-templates | hace 2 años | |
public | hace 1 semana | |
src | hace 1 semana | |
.eslintignore | hace 2 años | |
.eslintrc.js | hace 2 años | |
.gitignore | hace 1 año | |
Dockerfile | hace 10 meses | |
LICENSE | hace 2 años | |
README.md | hace 2 años | |
babel.config.js | hace 2 años | |
develop.md | hace 1 año | |
jest.config.js | hace 2 años | |
jsconfig.json | hace 2 años | |
nginx.conf | hace 1 año | |
package.json | hace 1 mes | |
plopfile.js | hace 2 años | |
postcss.config.js | hace 2 años | |
set-envs.sh | hace 10 meses | |
vue.config.js | hace 1 año |
# 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