|
1 semana atrás | |
---|---|---|
build | 2 anos atrás | |
dist | 2 meses atrás | |
languages | 1 semana atrás | |
mock | 2 anos atrás | |
plop-templates | 2 anos atrás | |
public | 1 semana atrás | |
src | 1 semana atrás | |
.eslintignore | 2 anos atrás | |
.eslintrc.js | 2 anos atrás | |
.gitignore | 1 ano atrás | |
Dockerfile | 10 meses atrás | |
LICENSE | 2 anos atrás | |
README.md | 2 anos atrás | |
babel.config.js | 2 anos atrás | |
develop.md | 1 ano atrás | |
jest.config.js | 2 anos atrás | |
jsconfig.json | 2 anos atrás | |
nginx.conf | 1 ano atrás | |
package.json | 1 mês atrás | |
plopfile.js | 2 anos atrás | |
postcss.config.js | 2 anos atrás | |
set-envs.sh | 10 meses atrás | |
vue.config.js | 1 ano atrás |
# 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