初始化

This commit is contained in:
2025-07-01 21:36:08 +08:00
commit 5f904364bf
51 changed files with 18760 additions and 0 deletions

24
vue.config.js Normal file
View File

@@ -0,0 +1,24 @@
const { defineConfig } = require('@vue/cli-service');
module.exports = defineConfig({
devServer: {
client: {
overlay: false, // 重点:新版写法
},
historyApiFallback: true,
},
transpileDependencies: true,
publicPath: './', // 必须是相对路径,否则打包后图片路径会出错
css: {
loaderOptions: {
postcss: {
postcssOptions: {
plugins: [
]
}
}
}
}
});