You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
Hello ! :)
I'm trying to add the classie.js file in my FoundationPress install.
I first tried to just copy the file inside of /src/assets/js/app.js but I had a "Uncaught ReferenceError: classie is not defined at HTMLDivElement.initSearchFn".
So I tried to add it as a file in /src/assets/js/lib/ and import like import './lib/classie'; but I still get the same error.
I tried a codepen with the same HTML/CSS/JS and I don't get the error so I assume something is wrong with the way I load the file.
What's the right way to add other scripts in the new Foundation setup ?
The text was updated successfully, but these errors were encountered:
Hello ! :)
I'm trying to add the classie.js file in my FoundationPress install.
I first tried to just copy the file inside of /src/assets/js/
app.js
but I had a"Uncaught ReferenceError: classie is not defined at HTMLDivElement.initSearchFn"
.So I tried to add it as a file in /src/assets/js/lib/ and import like
import './lib/classie';
but I still get the same error.I tried a codepen with the same HTML/CSS/JS and I don't get the error so I assume something is wrong with the way I load the file.
What's the right way to add other scripts in the new Foundation setup ?
The text was updated successfully, but these errors were encountered: