You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
# Vue CLI Plugin Electron Builder
2
2
3
-
A Vue Cli 3 plugin for Electron with no required configuration
4
-
3
+
A Vue Cli 3 plugin for Electron with no required configuration that uses [Electron Builder](https://www.electron.build/) and [Electron Webpack](https://webpack.electron.build/).
5
4
**IMPORTANT: Your app must be created with Vue-CLI 3 (vue create my-app), will not work with Vue-CLI 2 (vue init webpack my-app)**
6
5
7
6
## Quick Start:
@@ -49,12 +48,13 @@ Initial configuration is already set for you in your app's package.json, but it
49
48
50
49
### Electron Builder:
51
50
52
-
As per Electron Builder's documentation:
51
+
To see avalible options, check out [Electron Builder Configuration Options](https://www.electron.build/configuration/configuration)
52
+
53
+
As per Electron Builder's documentation, they can be applied:
53
54
54
-
> electron-builder [configuration](https://www.electron.build/configuration/configuration#configuration) can be defined
55
-
>
56
55
> * in the `package.json` file of your project using the `build` key on the top level:
57
56
>
57
+
>
58
58
> ```
59
59
> "build": {
60
60
> "appId": "com.example.app"
@@ -63,6 +63,7 @@ As per Electron Builder's documentation:
63
63
>
64
64
> * or through the `--config <path/to/yml-or-json5-or-toml>` option (defaults to `electron-builder.yml`(or `json`, or [json5](http://json5.org/), or [toml](https://github.com/toml-lang/toml))).
65
65
>
66
+
>
66
67
> ```
67
68
> appId: "com.example.app"
68
69
> ```
@@ -73,6 +74,8 @@ As per Electron Builder's documentation:
73
74
74
75
### Electron Webpack:
75
76
76
-
As per Electron Webpack's documentation:
77
+
To see avalible options, check out [Electron Webpack Configuration Options](https://webpack.electron.build/configuration)
78
+
79
+
As per Electron Webpack's documentation, they can be applied:
77
80
78
81
> Configurations can be applied in `package.json` at `electronWebpack` or in a separate `electron-webpack.(json|json5|yml)`.
0 commit comments