Closed praveenpuglia closed 6 years ago
I am gonna be fixing this with the next PR.
But I thought demo
folder contains example on how to use this component. No problem change it to src
file if it helps for development, we can add a code sandbox link to Readme on how to use this component.
Actually you are right. So what I am doing is keeping App.vue as is but adding the build step in dev server in watch mode. That should do the trick.
This to be precise.
npm run build -- -w & poi demo/index.js
@vinaypuppal In App.vue, we should really be pointing the source DateRange.vue and not the dist version. https://github.com/praveenpuglia/vuetify-daterange-picker/blob/master/demo/App.vue#L20-L21 This will stop HMR from working for any source changes in DateRange.vue.
should be good enough for development.