Commit 72409a58 by Tianqing Liu

chore: 优化打包配置

1 parent a1121dd6
const { defineConfig } = require('@vue/cli-service') const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({ module.exports = defineConfig({
publicPath: process.env.NODE_ENV === 'production' ? '/nvsdemo/' : '/', publicPath: process.env.NODE_ENV === 'production' ? '/' : '/',
transpileDependencies: true, transpileDependencies: true,
devServer: { devServer: {
port: 9091, port: 9091,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!