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?
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,
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?
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
is working on a reply...