Electron
is not very rigid, which means that Electron
of the methods of developing, compiling, packaging and publishing 060b78eeb87bcd applications can be called the "only standard" method. Electron
compilation and runtime related extra functions can usually be found in npm
, so that developers can compile the application and build pipeline
at the same time according to their own needs.
Templates and command line interface
A template is like a blank canvas, and we can build applications based on it. Generally, we can clone a template from a code repository and modify it to look what we want.
Command line tools can provide us with great help in the development and distribution process, but likewise, they have rigid requirements for code structure and building projects. For starters, the command-line tool is not useful.
electron-forge
Electron Forge
is a complete tool for building modern Electron
Electron Forge
can integrate multiple existing Electron
build tools into a simple and easy-to-use toolkit, and everyone can use it to quickly build a Electron
development environment.
Forge
integrates some popular frameworks into "out of the box" templates, such as React
, Vue
, Angular
etc. Forge
some of the core module from the upper Electron
community, thus Electron
major maintenance personnel submitted Electron
update will also make Forge
user benefit.
The installation command is as follows:
npm install -g electron-forge
electron-builder
Electron Builder
is a complete Electron
application packaging and distribution solution, which is dedicated to the integrated experience of software development. electron-builder
adds a dependency for the purpose of simplification, which can manage all more requirements internally.
electron-builder
will Electron
the modules and functions used by 060b78eeb87cfc maintainers (for example: auto-updater) with custom ones. The in-app components packaged by Electron Builder will be more integrated, and at the same time, they will have less in common with mainstream Electron applications. Up.
The installation command is as follows:
npm install -g electron-builder
electron-react-boilerplate
If we don't want to use any tools, but want to simply build from a template, then we can use electron-react-boilerplate
. It is very popular in the community and uses electron-builder
internally.
Link: https://www.9xkd.com/
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。