You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is.
I created a clean Vue 3 project using vite, added Framework7 according to the docs - but it's giving me an import error, I checked the exported bundle and it seems registerComponents isn't exported - at least, not in the framework7-vue.d.ts as typing - which is giving errors in Typescript based projects.
To Reproduce
Steps to reproduce the behavior:
Create a typescript based project with Vite
Install Framework7-vue according to the docs
See import error
Expected behavior
A clear and concise description of what you expected to happen.
No import error
Actual Behavior
Explain what is actually happening
Import error - needing to use comments to tell typescript to ignore the missing type
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Can be circumvented by adding a comment like below:
// @ts-expect-error registerComponents is missing from the typescript definition
The text was updated successfully, but these errors were encountered:
src\main.ts
Describe the bug
A clear and concise description of what the bug is.
I created a clean Vue 3 project using vite, added Framework7 according to the docs - but it's giving me an import error, I checked the exported bundle and it seems
registerComponents
isn't exported - at least, not in theframework7-vue.d.ts
as typing - which is giving errors in Typescript based projects.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
No import error
Actual Behavior
Explain what is actually happening
Import error - needing to use comments to tell typescript to ignore the missing type
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Can be circumvented by adding a comment like below:
// @ts-expect-error registerComponents is missing from the typescript definition
The text was updated successfully, but these errors were encountered: