Replies: 1 comment 1 reply
-
If it's a small script (like Create // Put your custom JS code here
// require fslightbox.js
require('fslightbox') Temporarily required extra step: exclude [[mounts]]
source = "node_modules/@hyas/doks-core/assets"
target = "assets"
excludeFiles = ["scss/common/_variables-custom.scss", "scss/common/_custom.scss", "js/custom.js"] |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am not quite sure how to integrate an external javascript in Hyas in the best way. In my case I have
https://github.com/banthagroup/fslightbox
installed, like so
Now it is in the directory
/node_modules/fslightbox/index.js
(hooray) But how do I proceed from there?As always, I'm happy about any tips :-)
Beta Was this translation helpful? Give feedback.
All reactions