Merge pull request #3 from xuxiaowei-com-cn/Electron_12_学习(三)Vue_3_安装与配置
Electron 12 学习(三)Vue 3 安装与配置
Showing
babel.config.js
0 → 100644
... | @@ -4,6 +4,9 @@ | ... | @@ -4,6 +4,9 @@ |
"description": "Electron 12 学习", | "description": "Electron 12 学习", | ||
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"serve": "vue-cli-service serve", | |||
"build": "vue-cli-service build", | |||
"lint": "vue-cli-service lint", | |||
"start": "electron .", | "start": "electron .", | ||
"test": "echo \"Error: no test specified\" && exit 1" | "test": "echo \"Error: no test specified\" && exit 1" | ||
}, | }, | ||
... | @@ -20,7 +23,37 @@ | ... | @@ -20,7 +23,37 @@ |
"url": "https://github.com/xuxiaowei-com-cn/Electron-12-Study/issues" | "url": "https://github.com/xuxiaowei-com-cn/Electron-12-Study/issues" | ||
}, | }, | ||
"homepage": "https://github.com/xuxiaowei-com-cn/Electron-12-Study#readme", | "homepage": "https://github.com/xuxiaowei-com-cn/Electron-12-Study#readme", | ||
"dependencies": { | |||
"core-js": "^3.6.5", | |||
"vue": "^3.0.0" | |||
}, | |||
"devDependencies": { | "devDependencies": { | ||
"electron": "^12.0.9" | "@vue/cli-plugin-babel": "~4.5.0", | ||
} | "@vue/cli-plugin-eslint": "~4.5.0", | ||
"@vue/cli-service": "~4.5.0", | |||
"@vue/compiler-sfc": "^3.0.0", | |||
"babel-eslint": "^10.1.0", | |||
"electron": "^12.0.9", | |||
"eslint": "^6.7.2", | |||
"eslint-plugin-vue": "^7.0.0" | |||
}, | |||
"eslintConfig": { | |||
"root": true, | |||
"env": { | |||
"node": true | |||
}, | |||
"extends": [ | |||
"plugin:vue/vue3-essential", | |||
"eslint:recommended" | |||
], | |||
"parserOptions": { | |||
"parser": "babel-eslint" | |||
}, | |||
"rules": {} | |||
}, | |||
"browserslist": [ | |||
"> 1%", | |||
"last 2 versions", | |||
"not dead" | |||
] | |||
} | } |
public/favicon.ico
0 → 100644
4.2 KB
public/index.html
0 → 100644
src/App.vue
0 → 100644
src/assets/logo.png
0 → 100644
6.7 KB
src/components/HelloWorld.vue
0 → 100644
src/main.js
0 → 100644