1.2.0 • Published 2 years ago
l-dashboard v1.2.0
dash-op-conf
A Vue.js project
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
安装cross-env
npm i --save-dev cross-env
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"unit": "jest --config test/unit/jest.conf.js --coverage",
"test": "npm run unit",
"build": "node build/build.js"
},
安装antv依赖 暂时没有用上,可去除此依赖
npm install @antv/g6 --save