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
Copy file name to clipboardExpand all lines: README.md
+18
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,24 @@ A small date picker built with Svelte 3. Demo available here: [view docs and exa
10
10
npm i -D svelte-calendar
11
11
```
12
12
13
+
## Usage within svelte-kit project
14
+
15
+
When using this component within a svelte-kit application it is necessary to add its two dependencies (`just-throttle` and `dayjs`) to the `config.kit.vite.optimizeDeps.include` array in `svelte.config.js`. Eg: your config should include the following:
0 commit comments