您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
16 行
496 B
16 行
496 B
// vue.config.js
|
|
module.exports = {
|
|
pages: {
|
|
index: {
|
|
// 页面的入口文件
|
|
entry: 'src/index/main.js',
|
|
// 页面的模板文件
|
|
template: 'public/index.html',
|
|
// build 生成的文件名称 例: dist/index.html
|
|
filename: 'index.html'
|
|
},
|
|
// template 默认会去找 public/subpage.html 页面,如果找不到会使用 public/index.html 文件
|
|
// 输出文件会默认的推断为 subpage.html
|
|
subpage: 'src/subpage/main.js'
|
|
}
|
|
}
|
|
|