项目作者: kenhyuwa

项目描述 :
Litepie Datepicker is a date range picker component for Vue.js and Tailwind CSS, dependent to day.js.
高级语言: Vue
项目地址: git://github.com/kenhyuwa/litepie-datepicker.git
创建时间: 2021-03-05T19:16:44Z
项目社区:https://github.com/kenhyuwa/litepie-datepicker

开源协议:MIT License

下载




Litepie Datepicker



Litepie Datepicker is a date range picker component for Vue.js and Tailwind CSS, dependent to day.js.


Documentation

For full documentation, visit litepie.com.

Simple Usage

How it works,

  1. <template>
  2. <div>
  3. <litepie-datepicker
  4. ref="myRef"
  5. :formatter="formatter"
  6. v-model="dateValue"
  7. ></litepie-datepicker>
  8. </div>
  9. </template>
  10. <script>
  11. import { ref } from 'vue';
  12. import LitepieDatepicker from 'litepie-datepicker';
  13. export default {
  14. components: {
  15. LitepieDatepicker
  16. },
  17. setup() {
  18. const myRef = ref(null);
  19. const dateValue = ref([]);
  20. const formatter = ref({
  21. date: 'DD MMM YYYY',
  22. month: 'MMM'
  23. });
  24. return {
  25. myRef,
  26. dateValue,
  27. formatter
  28. };
  29. }
  30. };
  31. </script>

Theming options

  • Light mode


    Light mode

  • Dark mode


    Dark mode

Changelog

All notable changes to this project will be documented in this file, Read.

License

The MIT License. Please see for more information.

Thanks to