Copied to clipboard

Flag this post as spam?

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


  • Andrew Gibson 16 posts 107 karma points
    Oct 25, 2017 @ 14:52
    Andrew Gibson
    0

    use bootstrap files

    I'm using Umbraco locally with Visual Studio. It came with a starter pack, but I'm ignoring it. How can I use bootstrap in my Master template without having to use a CDN or manually install the files?

    I ask because the bootstrap files are already in my VS solution, Umbraco > lib > bootstrap >css (etc.) and I don't think I should have to insert them into the back office(?).

    Presumably I should just be able to reference these files in my master template?

  • Nigel Wilson 945 posts 2077 karma points
    Oct 30, 2017 @ 01:28
    Nigel Wilson
    100

    Hi Andrew

    The Bootstrap files you are referring to are specifically for the backoffice, so personally I'd avoid using them.

    If you are familiar with Nuget then install the Bootstrap nuget package (this is my preferred option) and then add references to the required css / js files in your master template / view.

    Alternatively download Bootstrap and add the files manually to your solution under folders that you create, e.g. VS-Solution/css & VS-Solution/Scripts,

    Hope this helps you get started.

    Cheers Nigel

Please Sign in or register to post replies

Write your reply to:

Draft