Including other plugins #15
AureliusHogan
started this conversation in
General
Replies: 1 comment 1 reply
-
Something like this: Carbon:
IncludeAssets:
Packages:
'aa_YourSitePackage':
Path:
File:
CSS: Public/_css
JS: Public/_js
General:
Head:
- styles.min.css
- jquery-3.5.1.min.js[defer]
- main.js[defer]
'DL.Gallery':
Package: 'DL.Gallery'
Path:
File:
CSS: "Public/Styles"
JS: "Public/JavaScript"
General:
Head:
- BoostrapLightbox.css
- BootstrapLightbox.min.js[defer] As the order where the files are included is important, you have to define the order with the key under The setting
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
I've got a project where I'm using IncludeAssets. This works fine. Thanks!!!
So now I had to add DL.Gallery which has, as natural, their own CSS and JS files which I would like to add with IncludeAssets. But how can I do this without copying those files to my sitepackage?
So the BootstrapLightbox.css and BootstrapLightbox.min.js are in a different Path.
How would I have to configure this?
Beta Was this translation helpful? Give feedback.
All reactions