JSPM

vuetify-ethiopian-calendar

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

a vuetify date picker for Ethiopian calendar

Package Exports

  • vuetify-ethiopian-calendar

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 (vuetify-ethiopian-calendar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

a vuetify date picker for Ethiopian calendar

this component is based on umalqura calendar component

this component extends vuetify's v-date-picker

all of vuetify's v-date-picker props, slots, etc applies to this component

this component depends on ethiopic-calendar and vuetify you must install them before using it

Installation

npm install vuetify-ethiopian-calendar

# if you dont have ethiopic-calendar installed
npm install vuetify-ethiopian-calendar ethiopic-calendar

Usage:

globally register the component

// src/main.js
import Vue from 'vue'

import VEthiopianDatePicker from 'vuetify-ethiopian-calendar'

Vue.component(VEthiopianDatePicker.name, VEthiopianDatePicker)

or import directly in your .vue files

<template>
  <v-container>
    <v-row>
      <v-col cols="12" sm="6">
        <v-ethiopian-date-picker v-model="date" locale="ar" />
      </v-col>
    </v-row>
  </v-container>
</template>

<script>
import VEthiopianDatePicker from 'vuetify-ethiopian-calendar'

export default {
  name: 'MyComponent',
  data: () => ({
    date: '2013-01-01'
  })
  components: {
    VEthiopianDatePicker
  }
}
</script>