Problem
Currently the js asset path in the administration is hard coded and will not work if Shopware is configured to use a CDN or is running in a subfolder.
Fix
Use the asset twig function instead to generate the asset path considering the system configuration.
Problem Currently the js asset path in the administration is hard coded and will not work if Shopware is configured to use a CDN or is running in a subfolder.
Fix Use the
asset
twig function instead to generate the asset path considering the system configuration.