Copied to clipboard

Flag this post as spam?

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


  • Jens Waern 9 posts 29 karma points
    Apr 16, 2012 @ 16:42
    Jens Waern
    0

    .less in umbraco 5

    Anyone figured out a way to use dotless with umbraco 5 yet?

  • Justin Spradlin 139 posts 347 karma points
    Apr 16, 2012 @ 17:08
    Justin Spradlin
    0

    You can check out Jorge's work on uBootstrap. He has a V5 starter kit that includes .LESS support.

    http://our.umbraco.org/projects/starter-kits/ubootstrap

     

     

  • Jens Waern 9 posts 29 karma points
    Apr 16, 2012 @ 19:32
    Jens Waern
    0

    Yes I found uBootstrap while snooping around, however I was looking for a way to run just dotless, and I believe I just managed it. This might be very obvious but I just started using umbraco today...

    What I did was to install dotless via nuget in VS and then add .less-files to the supported extensions in the web.config like so:

          <stylesheetssupportedExtensions="*.css;*.less" excludedDirectories=".*" rootPath="~/Content/Styles" />

    Works like a charm!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies