# Installation
You can either add VuePikaday to your package.json
dependencies or HTML as script tag.
NOTE
VuePikaday has also Pikaday and moment.js
as peerDependencies
and requires them to be installed / included in order to work.
# NPM
npm install --save @netcz/vue-pikaday
or
yarn add @netcz/vue-pikaday
# Standalone
- Download latest release of VuePikaday or use latest jsDelivr links
- Add to your HTML head section (after Vue) using script tag
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/moment@2/moment.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pikaday@1/pikaday.js"></script>
<script src="/project/path/dist/vue-pikaday.js"></script>
or
<script src="https://cdn.jsdelivr.net/npm/@netcz/vue-pikaday@1/dist/vue-pikaday.js"></script>
WARNING
DO NOT use jsDelivr's "combine" method (even its tempting) as it uglifies code and Pikaday relies on "moment" variable in scope in order to use it.
← Introduction Usage →