-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alpine clipboard and TALL stack #17
Comments
@sxshateri How are you loading Alpine, via the CDN? |
@ryangjchandler nope its part of the TALL stack. |
@sxshateri Can you post an example please. The TALL stack won't determine how it's loaded. |
app.js
wbpack.mix.js
please note that the alpine clipboard is installed using npm and its available but since i cant load it before the alpine i get the error. |
How are you including Alpine on the page? |
@ryangjchandler its in the compiled js assets in |
The latest version of this package supports Alpine 3.x and greater. Please follow the Alpine installation instructions first. |
@ryangjchandler alpime is installed and compiled as part of the TALL stack package and as per your documentation I just need to install the package using npm and add it to the webpack by adding the
And I did so but I'm getting the following error in the console
What am I doing wrong? |
The code you provided doesn't show me how you've got Alpine installed. That's why I'm struggling to help. I'm guessing that Alpine is being imported inside of the |
@ryangjchandler it indeed was. i never look into that because I could never imagine the alpine was imported into |
im trying to add the alpine-clipboard plugin to the project that I use TALL in and I have to add it before the alpine starts/loads to avoid the declaring errors in the console but since there is no alpine imports and property declare in the app.js, I'm not really sure how to do that. anyone who can help would be much appreciated.
currently by just adding the
import Clipboard from "@ryangjchandler/alpine-clipboard"
andAlpine.plugin(Clipboard)
I get the following error in the console:The text was updated successfully, but these errors were encountered: