-
- Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checks
- Not a duplicate.
- Not a question, feature request, or anything other than a bug report directly related to Vue Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
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" in 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
Reproduction Link
No response
Steps to Reproduce
import { Splide } from '@splidejs/vue-splide';in vscode
...
Expected Behaviour
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
