Replies: 1 comment 2 replies
-
You should load your CSS....before the page renders... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if it was possible to get x-init to run after Tailwind has loaded.
I have been working on a AlpineJS component that allows a user to slide content panels. Example here: https://splitter.devfwd.com/set-size
I am trying to allow the user to set a onload/startup tailwind class width/height of a panel, but x-init is reading the panel width/height as 0 because tailwind has not yet loaded.
The project can be found here: https://github.com/mrl22/alpinejs-splitter/blob/main/resources/views/components/splitter-h.blade.php
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions