From 880bca7b4fd460d774d3408ae2000ae1e9d9e3a7 Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 21 Oct 2022 14:27:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/demo-config.js | 11 ++++++++++- package.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) 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" },