0.1.0 • Published 5 years ago
zebra-vuecli3-mty v0.1.0
baidu-portrait
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Run your unit tests
npm run test:unit
打包注意事项
可以在根目录建立.env.local
变量文件,指定打包资源路径。如果使用vue ui打包,需要将build界面中的变量设置界面中的输出目录置空,否则打包后的资源路径会指定为该目录。
OUTPUT_DIR=../bdhx/public/static // 指定静态资源路径
VIEWS_PATH=../bdhx/resources/views // 指定html文件路径
Customize configuration
0.1.0
5 years ago