Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-pikaday

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-pikaday

A lightweight Vue.js directive wrapper over dbushell/Pikaday.

  • 0.1.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vue-pikaday

A lightweight Vue.js directive wrapper over dbushell/Pikaday.

Install

Install the library from NPM

npm install vue-pikaday

Usage

Install the directive

# in your JS
import vPikaday from 'vue-pikaday'
Vue.use(vPikaday)

--

Set some VM data to bind

 new Vue({
   data () {
     return { date: null }
   }
})

--

Create the datepicker

<input type="text" v-date="date">

Styling

The directive does not include any styling by default. You can grab base css & scss from the Pikaday repository.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

FAQs

Package last updated on 18 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc