diff --git a/lib/demo-config.js b/lib/demo-config.js index 69e7e80..58c0d2e 100644 --- a/lib/demo-config.js +++ b/lib/demo-config.js @@ -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 diff --git a/lib/demo-html.js b/lib/demo-html.js index 29f36ca..1c0a616 100644 --- a/lib/demo-html.js +++ b/lib/demo-html.js @@ -17,7 +17,7 @@ export function writeHtmlFile(file) { {{title}} - + diff --git a/package.json b/package.json index 4913a4b..866b72f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "create-vue-live", "type": "module", - "version": "1.0.2", + "version": "1.0.3", "bin": { "create-vue-live": "index.js" },