123456789101112131415161718192021222324252627282930313233343536373839 |
- const { defineConfig } = require('@vue/cli-service')
- module.exports = defineConfig({
- transpileDependencies: true,
- devServer: {
- client: {
- overlay: false,
- },
- }
- })
- module.exports = {
- lintOnSave: false, //关闭eslint验证
- outputDir: '出入库管理系统',// 输出文件目录(默认dist)
- devServer: {
- open: false,//打开浏览器
- // host: '0.0.0.0',
- // proxy: {
- // [process.env.VUE_APP_BASE_API]: {
- // target: process.env.VUE_APP_BASE_URL,
- // changeOrigin: true,
- // pathRewrite: {
- // '^/api': ''
- // }
- // }
- // }
- },
- pwa: {
- iconPaths: {
- favicon32: './favicon.ico',
- favicon16: './favicon.ico',
- appleTouchIcon: './favicon.ico',
- maskIcon: './favicon.ico',
- msTileImage: './favicon.ico'
- }
- }
- }
|