How can I add third-party js library? #932
Answered
by
PKUcoldkeyboard
PKUcoldkeyboard
asked this question in
Q&A
-
I have added the following content to ColorThief:
- src: https://cdn.bootcdn.net/ajax/libs/color-thief/2.3.0/color-thief.min.js
integrity: sha256-Ll7WYr987woA8t/B1DXLPSeB1AM5ZqYyMvlNPHzSPVg=
type: script |
Beta Was this translation helpful? Give feedback.
Answered by
PKUcoldkeyboard
Jan 20, 2024
Replies: 1 comment
-
The answer is: add |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PKUcoldkeyboard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer is: add
{{- partial "helper/external" (dict "Context" . "Namespace" "ColorThief") -}}
after{{- partial "helper/external" (dict "Context" . "Namespace" "Vibrant") -}}
inlayouts/paritials/footers/components