Copied to clipboard

Flag this post as spam?

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


  • Ben Grimwade 4 posts 75 karma points
    Nov 05, 2015 @ 20:09
    Ben Grimwade
    0

    Umbraco PartialView CSS and Javascript in Package

    I'm including some partial views in an Umbraco package that I'm creating, and each of them has their own CSS and Javascript files. When the client imports the package in to their Umbraco project, what's the best way (without the client having to do anything) of referencing these files? There may be several of the same partial view on the same page, so I don't just want to include the import statements within the partial itself, as that would register the same scripts and CSS files for every instance of that partial on the page.

    What is the best way of including these files in the project without the client having to add the import statements to their Masterpage?

Please Sign in or register to post replies

Write your reply to:

Draft