The Electron Shell starter that'll have you saying "kids these days" faster than you can type npm start
.
npm run make
to generate distributable packages.forge.config.js
.Simply fork or download this repo, and start hacking away! Before beginning any work, install all dependencies by running npm install
.
Available commands:
npm start
: Runs the application with Electron in development mode. Hot reloading as well as the Vue devtools are enabled in this mode.npm run make
: Builds distributable app packages using Electron Forge, placing the results in the out directory. Note that this will only build packages compatible with the host system running the command; running the build on macOS won't produce GNU/Linux packages, for example.npm run lint
: Runs tslint
over all TypeScript files.There are three different TypeScript configurations located in this repository, and all three of them are important:
npm start
) and one for production (used when running npm run make
).npm@4
and @5
, it's advised to use npm@3
with Electron Forge: npm install -g npm@3
Not interested in using TypeScript with Vue? Prefer to start with something simpler? I recommend checking out the available starter templates that Electron Forge offers for initializing projects.
Want something with more stuff/customizability/documentation out of the box? Prefer to use Webpack instead of Electron Compile? I recommend taking a look at electron-vue, which allows for scaffolding projects using vue-cli.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。