Skip to content

Commit

Permalink
docs: update options
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Feb 17, 2023
1 parent 07c9971 commit fd5e250
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 fd5e250

Please sign in to comment.