beyonk-group / svelte-datepicker

A lightweight datepicker written in Svelte
MIT License
143 stars 23 forks source link



<br />
<br />

Svelte Datepicker

js-standard-style svelte-v3 publish

This is a near total rewrite of the excellent Svelte Calendar. It provides:

Roadmap:

Svelte Kit Support

Due to the way dayjs is packaged, the following configuration is required to get this working with SvelteKit:

const config = {
  kit: {
    target: "#svelte",
    vite: {
      ssr: {
        noExternal: [ 'dayjs' ]
      }
    }
  }
}

Usage

Contributing

Tests

Tests written in uvu

npm run test