Vue3 + Pinia + Vite5 仿抖音,完全度90% . Vue3 + Pinia + Vite5 imitate TikTok with 90% completeness
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
471 B

// vue.config.js
module.exports = {
// 选项...
publicPath: process.env.NODE_ENV === 'production' ? '' : '',
assetsDir: '',//资源路径
outputDir: process.env.outputDir,//打包输出路径
// configureWebpack: config => {
// config.externals = {
// "vue": "Vue",
// "vue-router": "VueRouter",
// }
// },
// 是否为生产环境构建生成 source map
productionSourceMap: false,
css: {},
}