You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hafsalm You won't be able to use it since Nuxt is running as an SPA and not SSR. Your App bundle is shipped within the electron executable.
Unless I'm missing something, why not use TRPC to call your API directly? Your TRPC server is running inside the main electron process where you can call your node.js module.
Is it possible to call nuxt server api endpoints directly without trpc?
I was trying to call as follows:
It works in Dev. But when it's built, it gets as following error.
My intention is to make a call to a nodejs module inside my application if this works.
Sorry, it's not exactly an issue but rather a general question.
Any hints or guidance you can provide would be greatly appreciated. Thank you
The text was updated successfully, but these errors were encountered: