NuxtN
Nuxt2y ago
tobi

Nuxt separate API and app for production

Maybe a dumb question, but I didn't find a proper solution in the docs, or here, or on the internet (or I just overlooked it ..)

Is it possible to build and deploy a nuxt spa + nuxt nitro server separately?

Asking because the client spa shall be bundled with tauri, which then calls the nuxt/nitro api published somewhere else.
Another option would be to bundle the server into the tauri app itself, but I didn't get nitro to run inside tauri..

Has anybody done something similiar already and can give some advice?

Thanks!
Was this page helpful?