Hey, im trying to add a third party javascript to our store. i packed all the scripts in a Module subfolder, created a ns.package.json but for the last step i need some support. I can’t find the distro.json file localy to add the entry point in my case “SC.Shopping.Starter”.
im using the Theme-Dev-Tools
s
Steve Goldberg
02/03/2021, 11:24 AM
The theme developer tools cannot be used to add JavaScript to the site. The theme is just the templates and Sass layer. If you want to add a third-party library, you will need to use an extension.
(And distro.json is only available in the SCA source code.)
s
Svenmann
02/03/2021, 11:26 AM
🤯 alright thanks Steve so im going for my first extension ^^