|
2 سال پیش | |
---|---|---|
build | 2 سال پیش | |
dist | 2 سال پیش | |
languages | 2 سال پیش | |
mock | 2 سال پیش | |
node_modules | 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-lock-bak.json | 2 سال پیش | |
package-lock.json | 2 سال پیش | |
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