-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from caoxiemeihao/v0.5.0
V0.5.0
- Loading branch information
Showing
8 changed files
with
2,155 additions
and
930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
export default defineNuxtConfig({ | ||
modules: [ | ||
'nuxt-electron', | ||
], | ||
modules: ['nuxt-electron'], | ||
electron: { | ||
build: [ | ||
{ | ||
// Main-Process entry file of the Electron App. | ||
entry: 'electron/main.ts', | ||
}, | ||
{ | ||
entry: 'electron/preload.ts', | ||
onstart(options) { | ||
// Notify the Renderer-Process to reload the page when the Preload-Scripts build is complete, | ||
// instead of restarting the entire Electron App. | ||
options.reload() | ||
}, | ||
}, | ||
], | ||
renderer: {}, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.