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?
Asked
Active
Viewed 8,878 times
7

Rooney Mara
- 145
- 1
- 7
1 Answers
5
Nvm, I just had to read the documentation. https://tailwindui.com/documentation#using-vue

Rooney Mara
- 145
- 1
- 7
-
5I want to use tailwind ready components with simple HTML , where can I get JS file ? I am using components from here "https://tailwindui.com/components/marketing/elements/headers". but it wants JS , where to find it ? – Swapnil Kotkar Dec 22 '21 at 15:13
-
1@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? – Kyle Carlson Feb 24 '22 at 14:58
-
I have the same issue, did you find it? – Al Kativo Nov 29 '22 at 12:44