|
1 settimana fa | |
---|---|---|
build | 2 anni fa | |
dist | 2 mesi fa | |
languages | 1 settimana fa | |
mock | 2 anni fa | |
plop-templates | 2 anni fa | |
public | 1 settimana fa | |
src | 1 settimana fa | |
.eslintignore | 2 anni fa | |
.eslintrc.js | 2 anni fa | |
.gitignore | 1 anno fa | |
Dockerfile | 10 mesi fa | |
LICENSE | 2 anni fa | |
README.md | 2 anni fa | |
babel.config.js | 2 anni fa | |
develop.md | 1 anno fa | |
jest.config.js | 2 anni fa | |
jsconfig.json | 2 anni fa | |
nginx.conf | 1 anno fa | |
package.json | 1 mese fa | |
plopfile.js | 2 anni fa | |
postcss.config.js | 2 anni fa | |
set-envs.sh | 10 mesi fa | |
vue.config.js | 1 anno fa |
# 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