Quasar is not found on "quasar" when using typescript.
jericomanapsal last edited by
I am using Vue and adding Quasar as a plugin. Everything works when not using typescript, however, when I add typescript support to Vue, the error says:
Module '"../node_modules/quasar/dist/types"' has no exported member 'Quasar'.
Steps to Reproduce
- Create a vue project with typescript support:
vue create sample
- Add Quasar plugin:
vue add quasar@beta
- Invoke quasar, answer defaults but add Roboto font and Material icons:
vue invoke quasar
- Now run the project:
yarn run serve