Copied to clipboard

Flag this post as spam?

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


  • Newbraco 41 posts 164 karma points
    Apr 25, 2018 @ 09:43
    Newbraco
    0

    /bundles missing when trying Grid example

    Hi Im following the Grid example on umbraco tv. Just the basics.

    When Ive created a page using my newly created grid the page comes out "alright", in the sense that the bootstrap classes shows up and so on. But there are references to /bundes/css, /bundles/jquery and /bundles/bootstrap. Neither of them works/exist (404), so my page ends up unstyled.

    Im I supposed to create these bundles myself, and if so. How do I do this? (Im pretty sure Im on the wrong track if I add bundlesConfig in my VS code, but Ill of course do it if thats the way to go)

  • Newbraco 41 posts 164 karma points
    Apr 25, 2018 @ 10:22
    Newbraco
    0

    Updating the web.config umbracoReservedPaths to:

    [add key="umbracoReservedPaths" value="~/umbraco,~/install/,~/bundles/,~/content/" ]
    

    worked... Is this how you are supposed to do thiis?

  • Nik 1599 posts 7179 karma points MVP 6x c-trib
    Apr 25, 2018 @ 13:20
    Nik
    100

    Hi Newbraco,

    I can't say that I've followed that Umbraco.TV tutorial myself, but if the system is using the default ASP.Net MVC bundling, then yes, you would need to add that to your reserved path list like you've done else it gets caught up in the Umbraco routing and you see the 404's you were getting.

    Nik

  • Newbraco 41 posts 164 karma points
    Apr 25, 2018 @ 13:30
    Newbraco
    1

    Ok, thanks for confirming!

Please Sign in or register to post replies

Write your reply to:

Draft