Skip to content

Commit

Permalink
Merge pull request #8 from Atinux/Atinux/patch-58115
Browse files Browse the repository at this point in the history
docs: update options
  • Loading branch information
caoxiemeihao authored Feb 17, 2023
2 parents 07c9971 + fd5e250 commit f7b21c5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ npm i -D nuxt-electron vite-electron-plugin electron electron-builder
```ts
export default defineNuxtConfig({
modules: [
['nuxt-electron'],
'nuxt-electron',
],
})
```
Expand Down Expand Up @@ -73,11 +73,12 @@ import type { ElectronOptions } from 'nuxt-electron'

export default defineNuxtConfig({
modules: [
['nuxt-electron', <ElectronOptions>{
include: ['electron'],
outDir: 'dist-electron',
}],
'nuxt-electron'
],
electron: {
include: ['electron'],
outDir: 'dist-electron',
}
})
```

Expand Down

0 comments on commit f7b21c5

Please sign in to comment.