JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 113
  • Score
    100M100P100Q92025F
  • License MIT

Package Exports

  • @kunukn/vue-2-datepicker

Readme

Vue 2 Datepicker

npm version npm downloads gzip license

A datepicker Vue component. Compatible with Vue 2.x

About

A datepicker Vue component. Compatible with Vue 2.x The source code is based on https://github.com/charliekassel/vuejs-datepicker#readme

It has been modified to use Vite and Vitest and the goal is to support Vue 2.6+ with pretty default styling. Vue 3 is out of scope in this repo.

Table of contents

Demo

To view a demo online:

Codesandbox View Edit

To view demo examples locally clone the repo and run yarn install && yarn dev

Install

yarn add -D @kunukn/vue-2-datepicker
import VueDatepicker from '@kunukn/vue-2-datepicker'

export default {
  // ...
  components: {
    VueDatepicker,
  },
  // ...
}

Size

name size gzip
vue-2-datepicker.css ~3 kB ~0.7 kB
vue-2-datepicker.js ~45 kB ~8.8 kB
vue-2-datepicker.umd.cjs ~29 kB ~6.6 kB