Nuxt
layouts, and can be adjusted for any Nitro
application
If you have not done so yet, be sure you have obtained credentials from the console.
1
Install packages
2
Configure the extension
Create the base nile instance, extended with the nitro plugin
app/composables/useNile.ts
3
Add the route so that the APIs can be handled
server/api/[...slug].ts
The extension
Under the hood, the nitro extension does the following reconfigureshandlers
to use the h3 callbacks, vs the default. The default method calls are still handled the same way internally, it only modifies the base call.
For instance, the calls on the server-side will still need to have their context set.