darrenfang / vuetify-datetime-picker

DatetimePicker component for Vuetify.js. https://darrenfang.github.io/vuetify-datetime-picker/
MIT License
175 stars 127 forks source link

Getting this running using vite #106

Open sureshvv opened 2 years ago

sureshvv commented 2 years ago

I am having trouble making this work using vite instead of webpack.

Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/vuetify_lib.js?v=278ed383' does not provide an export named 'VDatetimePicker' (at app.vue?vue&type=template&lang.js:1:405)

I am using vuetify 2.5.8 and vite 2.6.13. I am able to get it to work by using it as my-datetime-picker. Is there something that says all v-... directives come from vuetify?

Any ideas?

mahiso commented 1 year ago

https://github.com/m3h7/vuetify-datetime-picker/tree/vite-ts Not 100% ready but it works for my vite ts project.

iamcrisb commented 1 year ago

@mahiso how should I use your project in my vue.js app?