Vue template imports fail when variable is prefixed with `$`
Closed this issue · 0 comments
manniL commented
Environment
- Operating System: Linux
- Node Version: v18.18.0
- Nuxt Version: 3.8.2
- CLI Version: 3.10.0
- Nitro Version: 2.8.0
- Package Manager: npm@9.4.2
- Builder: -
- User Config: devtools
- Runtime Modules: -
- Build Modules: -
Reproduction
https://stackblitz.com/edit/nuxt-issues-24422
Describe the bug
When importing a variable like $myValue
, it is not accessible in the Vue template.
Interestingly, the types are set/augmented correctly 🤔
Additional context
Logs
No response