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