From 7ce34d1020b49f1fc1332eb83553d6b7ba2381a4 Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 30 Sep 2022 18:22:03 +0800 Subject: [PATCH] update --- index.html | 18 ++++++++++++++++++ vue.live.js | 11 +++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..8adc561 --- /dev/null +++ b/index.html @@ -0,0 +1,18 @@ + + + + + + + {{title}} + + + + + + + +
+ + + \ No newline at end of file diff --git a/vue.live.js b/vue.live.js index 45da703..1666eaa 100644 --- a/vue.live.js +++ b/vue.live.js @@ -1,12 +1,19 @@ import { resolve } from 'path' +// let pages = + export default { port: 6677, - pages: resolve('./src/pages'), + pages: { + index: { + entry: resolve('./src/main.js'), + title: '' + } + }, imports: { vue: '//esm.tool/vue.js', 'vue-router': '//esm.tool/vue-router.js', - 'elem-plus': '//esm.tool/elem-plus.js', + 'element-plus': '//esm.tool/elem-plus.js', 'element-ui': '//esm.tool/elem-plus.js', fetch: '//esm.tool/fetch.js', 'vue-echarts': '//esm.tool/vue-echarts.js',