From fd5e2504684d38f73189e371aaa45ca4be33566f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Fri, 17 Feb 2023 16:43:54 +0100 Subject: [PATCH] docs: update options --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0623b82..197fd77 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ npm i -D nuxt-electron vite-electron-plugin electron electron-builder ```ts export default defineNuxtConfig({ modules: [ - ['nuxt-electron'], + 'nuxt-electron', ], }) ``` @@ -73,11 +73,12 @@ import type { ElectronOptions } from 'nuxt-electron' export default defineNuxtConfig({ modules: [ - ['nuxt-electron', { - include: ['electron'], - outDir: 'dist-electron', - }], + 'nuxt-electron' ], + electron: { + include: ['electron'], + outDir: 'dist-electron', + } }) ```