Harmonic / vue-tailwind-modal

A modal box made for Vue that uses Tailwind CSS
28 stars 7 forks source link

Vue 3 #34

Open goper-leo opened 2 years ago

goper-leo commented 2 years ago

Does this support Vue 3?

[Vue warn]: Property "$createElement" was accessed during render but is not defined on instance. DevTools failed to load source map: Could not load content for http://localhost:8080/js/vue-tailwind-modal.common.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE [Vue warn]: Property "_self" was accessed during render but is not defined on instance. [Vue warn]: Unhandled error during execution of render function

vue @ 3.2.26 vue-tailwind-modal @ 1.0.7

mcasto commented 1 year ago

Same problem. Same version of vue-tailwind-modal so not surprising, but just reiterating that it's still a problem in Vue3 (at least with Composition, I haven't tried it with Object yet).

ultrono commented 1 year ago

Same here using Vue 3 and the latest TailwindCSS. As the component itself is very simple I just included a copy of https://github.com/Harmonic/vue-tailwind-modal/blob/master/src/VueTailwindModal.vue locally within my project and imported that. Everything then worked :man_shrugging: