TW-Elements
TW-Elements copied to clipboard
JS not working when upgrade from v1.0.0-beta1 to v1.0.0-beta2 in Vue
Describe the bug only about js is not working, all style is ok ,such as Dropdown and Carousel, it look well but it can not action
To Reproduce all config is follow Tailwind Elements Vue integration and Quick Start
now I make it work for the moment
onMounted(() => {
setTimeout(() => {
initTE({ Carousel,Datepicker, Input,Dropdown });
}, 1000);
})
please help me to config it properly
same here with a solid-js+Vite integration.
What bundler are you using with Vue? Is that default Vue CLI or something else?
@Trochonovitz It is vite
@iamyjx This is weird because in team we have tested import and initialization in two separate ways and computers. What is your specific tech-stack?
Same here with Webpack in Symfony 6.2.9.
On initial load, nothing works. You have to do a manual reload for it to work. Or like @iamyjx, apply a setTimeOut