|
1 | 1 | @attribute [Route(pageUrl)] |
2 | | - |
3 | | -<PageHeroSection PageUrl="@pageUrl" |
4 | | - Title="@title" |
5 | | - Heading="@heading" |
6 | | - Description="@description" |
7 | | - ImageUrl="@imageUrl" /> |
8 | | - |
9 | | -<Section Size="HeadingSize.H3" Text="Client Project" PageUrl="@pageUrl" HashTagName="client-project" /> |
10 | | - |
11 | | -<Section Size="HeadingSize.H4" Text="Install Nuget Package" PageUrl="@pageUrl" HashTagName="install-nuget-package" /> |
12 | | -<div class="mb-3"> |
13 | | - Looking to quickly add <b>BlazorExpress.ChartJS</b> to your project? Use NuGet package manager. |
14 | | -</div> |
15 | | -<div class="p-2 text-bg-dark rounded"> |
16 | | - Install-Package BlazorExpress.ChartJS -Version @version |
17 | | -</div> |
18 | | - |
19 | | -<Section Size="HeadingSize.H4" Text="Register services" PageUrl="@pageUrl" HashTagName="register-services" /> |
20 | | -<div class="mb-3"> |
21 | | - Register tag helpers in <b>_Imports.razor</b>. |
22 | | -</div> |
23 | | -<Snippet LanguageCode="LanguageCode.Razor" FilePath="~\Components\Pages\GettingStarted\NET8_02_WebApp_Server_Global\Getting_Started_Snippet_02_Register.txt" /> |
24 | | - |
25 | | -<Section Size="HeadingSize.H3" Text="Server Project" PageUrl="@pageUrl" HashTagName="server-project" /> |
26 | | - |
27 | | -<Section Size="HeadingSize.H4" Text="Add script references" PageUrl="@pageUrl" HashTagName="add-script-references" /> |
28 | | -<div class="mb-3"> |
29 | | - Insert the following references into the <b>body</b> section of the <b>Components/App.razor</b> file, immediately after the <b>_framework/blazor.web.js</b> reference: |
30 | | -</div> |
31 | | -<Snippet LanguageCode="LanguageCode.JavaScript" FilePath="~\Components\Pages\GettingStarted\NET8_02_WebApp_Server_Global\Getting_Started_Snippet_01_Scripts.html" /> |
| 2 | +@layout DocsMainLayout |
| 3 | + |
| 4 | +<PageMetaTags PageUrl="@pageUrl" Title="@metaTitle" Description="@metaDescription" ImageUrl="@imageUrl" /> |
| 5 | + |
| 6 | +<PageHero Title="@pageTitle"> |
| 7 | + <SubTitleTemplate> |
| 8 | + @((MarkupString)pageDescription) |
| 9 | + </SubTitleTemplate> |
| 10 | +</PageHero> |
| 11 | + |
| 12 | +<Section Class="p-0" Size="HeadingSize.H3" Name="Client Project" PageUrl="@pageUrl" Link="client-project" /> |
| 13 | + |
| 14 | +<Section Class="p-0" Size="HeadingSize.H4" Name="Install Nuget Package" PageUrl="@pageUrl" Link="install-nuget-package"> |
| 15 | + <div class="mb-3"> |
| 16 | + Looking to quickly add <b>BlazorExpress.ChartJS</b> to your project? Use NuGet package manager. |
| 17 | + </div> |
| 18 | + <div class="p-2 text-bg-dark rounded"> |
| 19 | + Install-Package BlazorExpress.ChartJS -Version @version |
| 20 | + </div> |
| 21 | +</Section> |
| 22 | + |
| 23 | +<Section Class="p-0" Size="HeadingSize.H4" Name="Register services" PageUrl="@pageUrl" Link="register-services"> |
| 24 | + <div class="mb-3"> |
| 25 | + Register tag helpers in <b>_Imports.razor</b>. |
| 26 | + </div> |
| 27 | + <Snippet LanguageCode="LanguageCode.Razor" FilePath="~\Components\Pages\GettingStarted\NET8_02_WebApp_Server_Global\Getting_Started_Snippet_02_Register.txt" /> |
| 28 | +</Section> |
| 29 | + |
| 30 | +<Section Class="p-0" Size="HeadingSize.H3" Name="Server Project" PageUrl="@pageUrl" Link="server-project" /> |
| 31 | + |
| 32 | +<Section Class="p-0" Size="HeadingSize.H4" Name="Add script references" PageUrl="@pageUrl" Link="add-script-references"> |
| 33 | + <div class="mb-3"> |
| 34 | + Insert the following references into the <b>body</b> section of the <b>Components/App.razor</b> file, immediately after the <b>_framework/blazor.web.js</b> reference: |
| 35 | + </div> |
| 36 | + <Snippet LanguageCode="LanguageCode.JavaScript" FilePath="~\Components\Pages\GettingStarted\NET8_02_WebApp_Server_Global\Getting_Started_Snippet_01_Scripts.html" /> |
| 37 | +</Section> |
32 | 38 |
|
33 | 39 | @code { |
34 | 40 | private const string pageUrl = RouteConstants.Docs_GettingStarted_Blazor_WebApp_NET_8_Interactive_Render_Mode_Auto_Global_Location; |
35 | | - private const string title = "Getting started - Blazor WebApp (.NET 8) - Interactive render mode Auto - Global location"; |
36 | | - private const string heading = "Getting started - Blazor WebApp (.NET 8) - Interactive render mode Auto - Global location"; |
37 | | - private const string description = "Get started with the Enterprise-class Component library built on the Blazor and Chart.js JavaScript library."; |
38 | | - private const string imageUrl = "https://i.imgur.com/C5ObC3A.png"; |
| 41 | + private const string pageTitle = "Getting started - Blazor WebApp (.NET 8) - Interactive render mode Auto - Global location"; |
| 42 | + private const string pageDescription = "Getting started - Blazor WebApp (.NET 8) - Interactive render mode Auto - Global location"; |
| 43 | + private const string metaTitle = "Getting started - Blazor WebAssembly (.NET 8)"; |
| 44 | + private const string metaDescription = "Get started with the Enterprise-class Component library built on the Blazor and Chart.js JavaScript library."; |
| 45 | + private const string imageUrl = "https://i.imgur.com/C5ObC3A.png"; // TODO: update with actual image URL |
39 | 46 | private string version = default!; |
40 | 47 |
|
41 | 48 | [Inject] |
|
0 commit comments