caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
169 stars 18 forks source link

nuxt@^3.8.0 set baseURL is invalid #59

Closed okxiaoliang4 closed 6 months ago

okxiaoliang4 commented 7 months ago

downgrade to nuxt@^3.7.0 works fine

OlaAlsaker commented 6 months ago

I have made a PR for this issue: https://github.com/caoxiemeihao/nuxt-electron/pull/60

Meanwhile, the solution will be to add this to your nuxt.config.ts:

nitro: {
  runtimeConfig: {
    app: {
      baseURL: './',
    }
  }
}