electron vue
vue create project
vue add vue-cli-plugin-electron-builder
node_modules\@vue\cli-service\lib\config\base.js
webpackConfig.module
.rule('worker')
.test(/\.worker\.js$/)
.use('worker-loader')
.loader(require.resolve('worker-loader'))
- Global NPM config => C:\Users\%username%\AppData\Roaming\npm\etc\npmrc.
- Per-user NPM config => C:\Users\%username%.npmrc.
- Built-in NPM config => C:\Program Files\nodejs\node_modules\npm\npmrc
electron 安装失败的问题
electron_mirror="https://npm.taobao.org/mirrors/electron/"
npm i element-ui -S
npm i element-theme -g
npm i element-theme-chalk -D