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.
23 lines
626 B
23 lines
626 B
const path =require("path")
|
|
const { defineConfig } = require('@vue/cli-service')
|
|
|
|
module.exports = defineConfig({
|
|
publicPath: './templates/vue',
|
|
outputDir: path.resolve(__dirname,'../public/admin/templates/vue'),
|
|
transpileDependencies: true,
|
|
chainWebpack: config => config.optimization.minimize(false),
|
|
pages: {
|
|
login: {
|
|
entry: 'src/pages/login/main.ts',
|
|
template: 'public/login.html',
|
|
filename: 'login.html',
|
|
// title: '信網資源 | 圖庫',
|
|
},
|
|
index: {
|
|
entry: 'src/pages/index/main.ts',
|
|
// template: 'public/index.html',
|
|
filename: 'index.html',
|
|
}
|
|
}
|
|
})
|