vue-formulate-datepicker

0.1.17 • Public • Published

vue-formulate-datepicker

vue-formulate-datepicker

Installation

npm

npm install vue-formulate-datepicker

yarn

yarn add vue-formulate-datepicker

Usage

Add this to your main.js

import VueFormulateDatepickerPlugin from "vue-formulate-datepicker";
// Add styles if need
import "@sum.cumo/vue-datepicker/dist/Datepicker.css";

Vue.use(VueFormulate, {
  plugins: [VueFormulateDatepickerPlugin]
});
<template>
    <FormulateInput
          language="fr"
          name="date"
          type="datepicker"
          v-model="date"
    >
    </FormulateInput>
</template>

<script>

export default {
  name: 'Example',
  data() {
    return {
      date: new Date(),
    }
  },
}
</script>

Documentation

/vue-formulate-datepicker/

    Package Sidebar

    Install

    npm i vue-formulate-datepicker

    Weekly Downloads

    560

    Version

    0.1.17

    License

    LGPL

    Unpacked Size

    1.14 MB

    Total Files

    11

    Last publish

    Collaborators

    • cogors