From b797c9cc1a46bc48667fc5df1dfd885caeb6ea26 Mon Sep 17 00:00:00 2001 From: SteveSandersonMS Date: Tue, 1 Mar 2016 16:26:05 +0000 Subject: [PATCH] In all the app templates, load and execute the Bootstrap JS code --- templates/Angular2Spa/ClientApp/boot-client.ts | 1 + templates/ReactSpa/ClientApp/boot.tsx | 1 + templates/WebApplicationBasic/ClientApp/App.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/Angular2Spa/ClientApp/boot-client.ts b/templates/Angular2Spa/ClientApp/boot-client.ts index 5a5d958..93172c2 100644 --- a/templates/Angular2Spa/ClientApp/boot-client.ts +++ b/templates/Angular2Spa/ClientApp/boot-client.ts @@ -1,4 +1,5 @@ import 'angular2/bundles/angular2-polyfills.js'; +import 'bootstrap'; import './styles/site.css'; import { bootstrap } from 'angular2/platform/browser'; diff --git a/templates/ReactSpa/ClientApp/boot.tsx b/templates/ReactSpa/ClientApp/boot.tsx index 86e48b1..919c22e 100644 --- a/templates/ReactSpa/ClientApp/boot.tsx +++ b/templates/ReactSpa/ClientApp/boot.tsx @@ -1,3 +1,4 @@ +import 'bootstrap'; import 'bootstrap/dist/css/bootstrap.css'; import './css/site.css'; diff --git a/templates/WebApplicationBasic/ClientApp/App.ts b/templates/WebApplicationBasic/ClientApp/App.ts index 62cce87..4cde26c 100644 --- a/templates/WebApplicationBasic/ClientApp/App.ts +++ b/templates/WebApplicationBasic/ClientApp/App.ts @@ -1,4 +1,4 @@ -import 'bootstrap/dist/css/bootstrap.css'; +import 'bootstrap'; import './css/site.css'; // Replace with your TypeScript code