Open adolfusadams opened 4 days ago
@adolfusadams The types for useSupabaseClient
or any other function from the module or any other module are generated inside the .nuxt
folder. These types will generate after installing dependencies or after running the dev
command. You can also manually generate it by running npx nuxi@latest prepare
. Please let me know if this fixes your issue.
When using Nuxt 3 with Supabse I get the following errors in the web app page, within the VS Code terminal and in the VS Code editor.
// VS Code editor error
Cannot find name 'useSupabaseClient'
// VS Code terminal error
ERROR Pre-transform error: [unimport] failed to find "useSupabaseSession" imported from "#imports"
// Web app page error
Version
// package.json
// nuxt.config.ts // https://nuxt.com/docs/api/configuration/nuxt-config
// app.vue