Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • suzyb 458 posts 864 karma points
    3 days ago
    suzyb
    0

    Client Dependency not loading all sources required

    Hi all

    I'm having an issue with the client dependency on a new umbraco 8 site I'm working on. It doesn't seem to load all the scripts required.

    In our Master view we add any site wide JS to the client dependency. Additionally in some partials we will also add any additional JS required by the functionality in that partial only.

    For example, our site has a contact form and newsletter form that can be added as part of the footer. As these forms can be optional we simply include their JS within their partials. I'm finding however when I load a page the JS for one or both of these forms doesn't load.

    Looking at the sources loaded and referencing the map produced by client dependency it seems client dependency is loading an item that doesn't include the source for the forms.

    We have had this setup on previous Umbraco sites and never had any issues like this. Does anyone have any idea why this could be happening?

Please Sign in or register to post replies

Write your reply to:

Draft