What does it mean by 'Requires js' when using TailwindCSS?
Asked Answered
E

1

7

I am completely new to Vue and Tailwind. I was just looking at https://tailwindui.com/components/marketing/elements/headers and saw the Requires JS tag. When I copy-paste the code to my project, it gives a blank page. Where do I configure this part to include the JS?

Edwinaedwine answered 5/6, 2021 at 19:42 Comment(0)
E
5

Nvm, I just had to read the documentation. https://tailwindui.com/documentation#using-vue

Edwinaedwine answered 5/6, 2021 at 20:47 Comment(4)
I want to use tailwind ready components with simple HTML , where can I get JS file ? I am using components from here "tailwindui.com/components/marketing/elements/headers". but it wants JS , where to find it ?Shantae
@SwapnilKotkar - I'm trying to use them with Ruby on Rails 7, but lordy the importmaps/JS world is mind-boggling to me. All I want is a dropdown! Why is this so hard?Ronnyronsard
I have the same issue, did you find it?Marplot
Same here, where can I find JS file?Bizarre

© 2022 - 2024 — McMap. All rights reserved.