mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nuxt3): move export to top level (#626)
* fixes issue of module augmentation
This commit is contained in:
parent
45b4946026
commit
5cf293ea88
@ -55,7 +55,7 @@ declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
${options.components.map(c => ` '${c.pascalName}': typeof import('${relative(options.buildDir, c.filePath)}')['${c.export}']`).join(',\n')}
|
||||
}
|
||||
|
||||
export {}
|
||||
}`
|
||||
}
|
||||
export {}
|
||||
`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user