NicolaSpadari / nuxtor

Build tiny desktop apps with Tauri, Nuxt 3 and UnoCSS
MIT License
196 stars 2 forks source link

How to access nuxt service through address #1

Closed wodepig closed 1 month ago

wodepig commented 1 month ago

image When I start the application, there is no way to access the service provided by nuxt through the url address. image I want to access the background service through http:// localhost:3001/api/hello

NicolaSpadari commented 1 month ago

Nuxt SSR is disabled, as the backend is handled by Tauri. There is a more exhaustive explatantion of why here: https://medium.com/@kinxyo/nuxt-3-integration-in-tauri-5dd07ede3c98 But the short explanation is: Tauri doesn’t support server based solutions