From 08a5e3d0fec3037525d372faecf0dc97437421c0 Mon Sep 17 00:00:00 2001 From: yutent Date: Mon, 13 Feb 2023 00:20:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0CDN=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/demo-config.js | 8 ++++---- lib/demo-html.js | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/demo-config.js b/lib/demo-config.js index be10121..69e7e80 100644 --- a/lib/demo-config.js +++ b/lib/demo-config.js @@ -57,12 +57,12 @@ export default { // 有用到其他的库, 可以手动添加, // 也可以在页面中直接引入完整的路径, 而不必须在这里声明 imports: { - vue: '//unpkg.com/vue@3.2.40/dist/vue.esm-browser.prod.js', - 'vue-router': '//unpkg.com/vue-router@4.1.5/dist/vue-router.esm-browser.js', + vue: '//jscdn.ink/vue/3.2.47/vue.esm-browser.prod.js', + 'vue-router': '//jscdn.ink/vue-router/4.1.6/vue-router.esm-browser.js', // 这个库被vue-router依赖, 可以注释掉vue-router代码中的 @vue/devtools-api 的引入 // 以达到减少不必须的体积的效果 - '@vue/devtools-api': '//unpkg.com/@vue/devtools-api@6.4.4/lib/esm/index.js', - fetch: '//unpkg.com/@bytedo/fetch@2.1.1/dist/next.js' + '@vue/devtools-api': '//jscdn.ink/@vue/devtools-api/6.4.4/esm/index.js', + fetch: '//jscdn.ink/@bytedo/fetch/2.1.1/next.js' } } diff --git a/lib/demo-html.js b/lib/demo-html.js index 31590e2..29f36ca 100644 --- a/lib/demo-html.js +++ b/lib/demo-html.js @@ -17,8 +17,8 @@ export function writeHtmlFile(file) { {{title}} - - + + diff --git a/package.json b/package.json index a5fb08f..4913a4b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "create-vue-live", "type": "module", - "version": "1.0.1", + "version": "1.0.2", "bin": { "create-vue-live": "index.js" },