This commit is contained in:
我是个攻城狮
2026-05-27 15:57:06 +08:00
commit eea38e992b
120 changed files with 19004 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
configureWebpack: {
resolve: {extensions: [".ts", ".tsx", ".js", ".json"]},
module: {
rules: [
{
test: /\.tsx?$/,
loader: 'ts-loader',
exclude: /node_modules/,
options: {
appendTsSuffixTo: [/\.vue$/],
}
}
]
}
},
devServer: {
proxy: {
'/pdf': {
target: 'https://szcb-core.oss-cn-chengdu.aliyuncs.com',
changeOrigin: true,
pathRewrite: {'^/pdf': ''}
}
}
}
})