Closed ttonyh closed 1 year ago
Linux
v19.1.0
3.0.0
1.0.0
yarn@1.22.19
vite
typescript
modules
@nuxtjs-alt/auth@2.1.5
@nuxtjs-alt/axios@1.0.19
@pinia/nuxt@0.4.4
@nuxtjs/color-mode@3.1.8
@nuxtjs/robots@3.0.0
-
export default defineNuxtConfig({ typescript: { shim: false }, modules: [ // v2 stack compatibility '@nuxtjs-alt/auth', '@nuxtjs-alt/axios', '@pinia/nuxt',
// General Modules '@nuxtjs/color-mode', '@nuxtjs/robots' ]
});
https://stackblitz.com/edit/github-vgxjko
I was not able to get typescript autocomplete to work in Stackblitz.
Although $auth is recognized on Nuxt context "ctx = NuxtApp()", for some reason "$axios" is not. Both are installed in my app.
No response
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment
Linux
v19.1.0
3.0.0
1.0.0
yarn@1.22.19
vite
typescript
,modules
@nuxtjs-alt/auth@2.1.5
,@nuxtjs-alt/axios@1.0.19
,@pinia/nuxt@0.4.4
,@nuxtjs/color-mode@3.1.8
,@nuxtjs/robots@3.0.0
-
Nuxt Config
export default defineNuxtConfig({ typescript: { shim: false }, modules: [ // v2 stack compatibility '@nuxtjs-alt/auth', '@nuxtjs-alt/axios', '@pinia/nuxt',
});
Reproduction
https://stackblitz.com/edit/github-vgxjko
I was not able to get typescript autocomplete to work in Stackblitz.
Describe the bug
Although $auth is recognized on Nuxt context "ctx = NuxtApp()", for some reason "$axios" is not. Both are installed in my app.
Additional context
No response
Logs
No response