更新CDN地址
parent
1ec117c030
commit
08a5e3d0fe
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ export function writeHtmlFile(file) {
|
|||
<title>{{title}}</title>
|
||||
<meta name="keywords" content="{{keywords}}">
|
||||
<meta name="description" content="{{description}}">
|
||||
<link rel="stylesheet" href="//unpkg.com/@bytedo/wcui@1.0.6/dist/css/reset-basic.css">
|
||||
<script async src="//esm.tool/es-module-shims.wasm.js"></script>
|
||||
<link rel="stylesheet" href="//jscdn.ink/@bytedo/wcui@1.0.12/dist/css/reset-basic.css">
|
||||
<script async src="//jscdn.ink/es-module-shims/1.6.3/es-module-shims.wasm.js"></script>
|
||||
<script type="importmap">{{importmap}}</script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "create-vue-live",
|
||||
"type": "module",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"bin": {
|
||||
"create-vue-live": "index.js"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue