更新依赖路径
parent
08a5e3d0fe
commit
8d09073a59
|
@ -61,7 +61,7 @@ export default {
|
|||
'vue-router': '//jscdn.ink/vue-router/4.1.6/vue-router.esm-browser.js',
|
||||
// 这个库被vue-router依赖, 可以注释掉vue-router代码中的 @vue/devtools-api 的引入
|
||||
// 以达到减少不必须的体积的效果
|
||||
'@vue/devtools-api': '//jscdn.ink/@vue/devtools-api/6.4.4/esm/index.js',
|
||||
'@vue/devtools-api': '//jscdn.ink/@vue/devtools-api/6.5.0/esm/index.js',
|
||||
fetch: '//jscdn.ink/@bytedo/fetch/2.1.1/next.js'
|
||||
}
|
||||
}
|
||||
|
@ -74,6 +74,7 @@ export default {
|
|||
export function writeGitIgnore(file) {
|
||||
fs.echo(
|
||||
`
|
||||
dist
|
||||
node_modules
|
||||
|
||||
*.sublime-project
|
||||
|
@ -100,7 +101,7 @@ jsxBracketSameLine: true
|
|||
jsxSingleQuote: true
|
||||
semi: false
|
||||
singleQuote: true
|
||||
printWidth: 100
|
||||
printWidth: 80
|
||||
useTabs: false
|
||||
tabWidth: 2
|
||||
trailingComma: none
|
||||
|
|
|
@ -17,7 +17,7 @@ export function writeHtmlFile(file) {
|
|||
<title>{{title}}</title>
|
||||
<meta name="keywords" content="{{keywords}}">
|
||||
<meta name="description" content="{{description}}">
|
||||
<link rel="stylesheet" href="//jscdn.ink/@bytedo/wcui@1.0.12/dist/css/reset-basic.css">
|
||||
<link rel="stylesheet" href="//jscdn.ink/@bytedo/wcui/1.0.12/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>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "create-vue-live",
|
||||
"type": "module",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"bin": {
|
||||
"create-vue-live": "index.js"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue