Skip to content

Unable to push Styles & Scripts #311

Answered by PhiloNL
abbasmashaddy72 asked this question in Q&A
Discussion options

You must be logged in to vote

@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:

<!-- This will execute the JS when the modal is initialized -->
<div x-init="initCkEditor()"></div>

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@abbasmashaddy72
Comment options

@odin88
Comment options

@abbasmashaddy72
Comment options

Answer selected by abbasmashaddy72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #309 on March 03, 2023 14:07.