I'm importing framework7 in an astro project (vite) and I get the same error as in the above issue.
There are types at 'Documents/my-project/node_modules/framework7/framework7.d.ts', but this result could not be resolved when respecting package.json "exports". The 'framework7' library may need to update its package.json or typings.
The above seems to fix it. I know very little about this project so if this isn't the right approach (or it causes other issues) feel free to close.
Fixes #4181
I'm importing
framework7
in an astro project (vite) and I get the same error as in the above issue.The above seems to fix it. I know very little about this project so if this isn't the right approach (or it causes other issues) feel free to close.
Using: node 18 Typescript 5