Package Exports
- @vuepic/vue-datepicker
- @vuepic/vue-datepicker/dist/vue-datepicker.es.js
- @vuepic/vue-datepicker/dist/vue-datepicker.umd.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vuepic/vue-datepicker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@vuepic/vue-datepicker
The most complete datepicker solution for Vue 3
Features
- Single date picker
- Range date picker
- Time picker
- Month picker
- Year picker
- Week picker
- Multiple dates select
- Multiple calendars
- Text input
- UTC support
- Locale support
- Week numbers
- Custom
v-model - Dark and light theme
- SSR support
- Highly configurable
- Accessible
- Included type definitions
Install
yarn add @vuepic/vue-datepicker
# or
npm install @vuepic/vue-datepickerImport and register component
Global
import { createApp } from 'vue';
import App from './App.vue';
import Datepicker from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css';
const app = createApp(App);
app.component('Datepicker', Datepicker);Local
<script>
import Datepicker from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css';
export default {
components: { Datepicker }
}
</script>Supporting the project
As you may know, maintaining an open-source project is a very time-consuming job. Your support is very appreciated ❤️
Please ⭐️ this repository if you like the component!
You can also make a financial contribution via sponsoring this project or one time donation. Become a sponsor
Special thanks to our sponsors 🙏
License
Copyright © 2021-present Vuepic