A Vue.js project
Test project using Algolia JS API for searching events calendar.
Using vue-cli's webpack-simple setup (VueJS 2).
searchFrom
and searchTo
are bound to start and end dates using unixtimestamp.
To do:
Use Moment.js to convert unixtimestamp to human readable dates (new Vue methods).✔Use Pikaday datepicker.✔Add filters for event types when available in JSON feed.✔Hook up text inputand add debounce.
bash
# 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.