|
1 nedēļu atpakaļ | |
---|---|---|
build | 2 gadi atpakaļ | |
dist | 2 mēneši atpakaļ | |
languages | 1 nedēļu atpakaļ | |
mock | 2 gadi atpakaļ | |
plop-templates | 2 gadi atpakaļ | |
public | 1 nedēļu atpakaļ | |
src | 1 nedēļu atpakaļ | |
.eslintignore | 2 gadi atpakaļ | |
.eslintrc.js | 2 gadi atpakaļ | |
.gitignore | 1 gadu atpakaļ | |
Dockerfile | 10 mēneši atpakaļ | |
LICENSE | 2 gadi atpakaļ | |
README.md | 2 gadi atpakaļ | |
babel.config.js | 2 gadi atpakaļ | |
develop.md | 1 gadu atpakaļ | |
jest.config.js | 2 gadi atpakaļ | |
jsconfig.json | 2 gadi atpakaļ | |
nginx.conf | 1 gadu atpakaļ | |
package.json | 1 mēnesi atpakaļ | |
plopfile.js | 2 gadi atpakaļ | |
postcss.config.js | 2 gadi atpakaļ | |
set-envs.sh | 10 mēneši atpakaļ | |
vue.config.js | 1 gadu atpakaļ |
# 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