修复配置文件

master
yutent 2022-10-21 14:27:56 +08:00
parent 31ac633e39
commit 880bca7b4f
2 changed files with 11 additions and 2 deletions

View File

@ -33,7 +33,16 @@ export function writeConfigFile(file) {
import { resolve } from 'path' import { resolve } from 'path'
export default { export default {
devServer: {
port: 8080, port: 8080,
domain: '',
https: false,
ssl: {
key: '',
cert: '',
// ca: ''
}
},
pages: { pages: {
// 如果多页应用, 则这里写传入多个值即可(注意不是数组格式) // 如果多页应用, 则这里写传入多个值即可(注意不是数组格式)
// 这里的key值, 将是最终的页面的名称 // 这里的key值, 将是最终的页面的名称

View File

@ -1,7 +1,7 @@
{ {
"name": "create-vue-live", "name": "create-vue-live",
"type": "module", "type": "module",
"version": "0.0.11", "version": "0.0.12",
"bin": { "bin": {
"create-vue-live": "index.js" "create-vue-live": "index.js"
}, },