strapi
strapi copied to clipboard
How can i use this under server folder ?
Hello,
I want to use strapi module under my server/routes/strapi.ts file but it appears i can't use useStrapi
in server folder. Is there a way to use the module inside the server folder ?
Lots of people would love to use this module from Nitro, but it has been designed only for the client side.
I'm calling the Strapi API with $fetch in /server/api
and build the query string with qs
, as recommended by the Strapi team. I only use the module for everything related to Authentication.