We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.6.12
when import splide, vs code can't find type declaration of Splide.
so I add this "types": "./src/js/index.ts" in exports
"types": "./src/js/index.ts"
exports
like this
{ "exports": { ".": { "require": "./dist/js/vue-splide.cjs.js", "import": "./dist/js/vue-splide.esm.js", "default": "./dist/js/vue-splide.esm.js", "types": "./src/js/index.ts" }, "./css": "./dist/css/splide.min.css", "./css/core": "./dist/css/splide-core.min.css", "./css/*": "./dist/css/themes/splide-*.min.css" }, }
then it will be fixed
No response
import { Splide } from '@splidejs/vue-splide';
...
The text was updated successfully, but these errors were encountered:
This is a duplicate of #91, and there's an open PR here to fix it #92. Hopefully it will get merged soon 🙏
Sorry, something went wrong.
No branches or pull requests
Checks
Version
0.6.12
Description
when import splide, vs code can't find type declaration of Splide.
so I add this
"types": "./src/js/index.ts"
inexports
like this
then it will be fixed
Reproduction Link
No response
Steps to Reproduce
import { Splide } from '@splidejs/vue-splide';
in vscode...
Expected Behaviour
The text was updated successfully, but these errors were encountered: