Defining an index.d.ts
file in /plugins throws an error client-side
#15387
Labels
index.d.ts
file in /plugins throws an error client-side
#15387
Environment
Darwin
v16.15.1
3.0.0-rc.12
0.6.0
npm@8.12.1
vite
hooks
,app
,build
,experimental
,imports
,modules
,nitro
,runtimeConfig
,typescript
,vite
@nuxtjs/tailwindcss@5.3.3
,nuxt-graphql-client@0.2.10
,@vueuse/nuxt@9.3.0
-
Reproduction
N/A
Describe the bug
When following https://v3.nuxtjs.org/guide/directory-structure/plugins#typing-plugins
Nuxt throws an error in the browser:
Irrespective of the contents of the file.
Placing the file anywhere else but
/plugins
doesn't provide typings.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: