Unable to push Styles & Scripts #311
Answered
by
PhiloNL
abbasmashaddy72
asked this question in
Q&A
-
I had Created a CK Editor Component It works perfectly fine when I use it in my single page view But Not working when I use it in my Modal View When I did a check, I found out that Custom Styles & Scripts were not getting pushed Please Help me Out |
Beta Was this translation helpful? Give feedback.
Answered by
PhiloNL
Mar 6, 2023
Replies: 2 comments 3 replies
-
Anyone, Please Help Me Out. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@abbasmashaddy72 You can't push CSS or JS, as Livewire does not support this. <!-- This will execute the JS when the modal is initialized -->
<div x-init="initCkEditor()"></div> |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
abbasmashaddy72
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@abbasmashaddy72 You can't push CSS or JS, as Livewire does not support this.
If you want to initialize JS inside a modal you can use Alpine: