diff --git a/lib/demo-config.js b/lib/demo-config.js index 7b777e7..2e0b255 100644 --- a/lib/demo-config.js +++ b/lib/demo-config.js @@ -33,7 +33,16 @@ export function writeConfigFile(file) { import { resolve } from 'path' export default { - port: 8080, + devServer: { + port: 8080, + domain: '', + https: false, + ssl: { + key: '', + cert: '', + // ca: '' + } + }, pages: { // 如果多页应用, 则这里写传入多个值即可(注意不是数组格式) // 这里的key值, 将是最终的页面的名称 diff --git a/package.json b/package.json index e156cfb..054c259 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "create-vue-live", "type": "module", - "version": "0.0.11", + "version": "0.0.12", "bin": { "create-vue-live": "index.js" },