build: { target: { browser: ['es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1'], node: 'node16' }, vueRouterMode: 'hash', // available values: 'hash', 'history' // vueRouterBase, // vueDevtools, // vueOptionsAPI: false, // rebuildCache: true, // rebuilds Vite/linter/etc cache on startup // publicPath: '/', // analyze: true, // env: {}, // rawDefine: {} // ignorePublicFolder: true, // minify: false, // polyfillModulePreload: true, // distDir // extendViteConf (viteConf) {}, // viteVuePluginOptions: {}, // vitePlugins: [ // [ 'package-name', { ..options.. } ] // ] // mouseleo: relative publicPath, such as /spa or /app, etc... publicPath: '', extendViteConf (viteConf, { isServer, isClient }) { viteConf.base = '' }, },
标签:false,..,Quasar,viteConf,publicPath,build,path,root,true From: https://www.cnblogs.com/mouseleo/p/18115723