Skip to content

Commit

Permalink
#359 [doc] Update installation instructions for Blazor Server - Migra…
Browse files Browse the repository at this point in the history
…tion guide to v3
  • Loading branch information
hakenr committed Sep 6, 2022
1 parent 6d45759 commit 26fe03c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -9,15 +9,15 @@

<h3>2. Update Bootstrap CSS and JS references</h3>
<h5>CSS</h5>
<p>If you are using Bootstrap CSS from CDN, update the following line in your HTML head section, it's either <code>index.html</code> or <code>_Host.cshtml</code> depending on whether you're running WebAssembly or Server:</p>
<p>If you are using Bootstrap CSS from CDN, update the following line in your HTML head section, it's either <code>index.html</code> or <code>_Host.cshtml</code>/<code>_Layout.cshtml</code> depending on whether you're running WebAssembly or Server:</p>
<CodeSnippet Language="razor">&lt;link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous"&gt;</CodeSnippet>
<p>
If you are referencing our Bootstrap CSS build <code>_content/Havit.Blazor.Components.Web.Bootstrap/bootstrap.css</code>, it is updated automatically.
If you are referencing your custom Bootstrap build/theme, upgrade it to Boostrap 5.2.
</p>

<h5>Bootstrap JavaScript Bundle</h5>
<p>At the end of HTML <code>&lt;body&gt;</code> section of either <code>index.html</code> or <code>_Host.cshtml</code> update this line referencing Bootstrap JavaScript Bundle (with Popper) from CDN:</p>
<p>At the end of HTML <code>&lt;body&gt;</code> section of either <code>index.html</code> or <code>_Host.cshtml</code>/<code>_Layout.cshtml</code> update this line referencing Bootstrap JavaScript Bundle (with Popper) from CDN:</p>
<CodeSnippet File="~\Pages\GettingStarted_JavaScript.CodeSnippet.html" />

<h3>3. Resolve breaking changes ⚠️</h3>
Expand Down

0 comments on commit 26fe03c

Please sign in to comment.