caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
191 stars 21 forks source link

nuxt@^3.8.0 set baseURL is invalid #59

Closed okxiaoliang4 closed 11 months ago

okxiaoliang4 commented 1 year ago

downgrade to nuxt@^3.7.0 works fine

OlaAlsaker commented 11 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: './',
    }
  }
}