Replies: 2 comments 4 replies
-
I would recommend adding the import before the Alpine definition:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
@PhiloNL How do you recommend we do this if we are using this package for laravel package development? |
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
-
Hi there.
I have a Laravel application, where I am trying to install Alpine.js (Using NPM) together with wire-elements/modal. In my app.js file I have this:
I am loading the
app.js
file in myapp.blade.php
view file:This gives me an error like the below though:
If I remove
Alpine.start();
from my app.js file, the error goes away (but Alpine is not working then).Beta Was this translation helpful? Give feedback.
All reactions