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" and Alpine.plugin(Clipboard) I get the following error in the console:
Uncaught (in promise) ReferenceError: $clipboard is not defined
at eval (eval at generateFunctionFromString (module.esm.js:1)
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: