Skip to content

Commit 9e7e40b

Browse files
committed
update README
1 parent a228770 commit 9e7e40b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ module.exports = {
113113
}
114114
};
115115
```
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:
117121
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:
118122

119123
```javascript
@@ -122,6 +126,7 @@ Typescript support is automatic and requires no configuration, just add the `@vu
122126
module.exports = {
123127
pluginOptions: {
124128
electronBuilder: {
129+
// option: default // description
125130
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).
126131
mainProcessTypeChecking: false // Manually enable type checking during webpck bundling for background file.
127132
}

0 commit comments

Comments
 (0)