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
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,11 @@ module.exports = {
113
113
}
114
114
};
115
115
```
116
-
### Adding TypeScript Support:
116
+
### Cli Options:
117
+
118
+
Arguments passed to `build:electron` are sent to electron-builder. To see available cli options, see [electron-builder's cli options](https://www.electron.build/cli). `serve:electron` takes no arguments.
119
+
120
+
### TypeScript Support:
117
121
Typescript support is automatic and requires no configuration, just add the `@vue/typescript` cli plugin. There are a few options for configuring typescript if necessary:
118
122
119
123
```javascript
@@ -122,6 +126,7 @@ Typescript support is automatic and requires no configuration, just add the `@vu
122
126
module.exports= {
123
127
pluginOptions: {
124
128
electronBuilder: {
129
+
// option: default // description
125
130
disableMainProcessTypescript:false, // Manually disable typescript plugin for main process. Enable if you want to use regular js for the main process (src/background.js by default).
126
131
mainProcessTypeChecking:false// Manually enable type checking during webpck bundling for background file.
0 commit comments