diff --git a/examples/Demo/Shared/Components/NewsDate.razor b/examples/Demo/Shared/Components/NewsDate.razor new file mode 100644 index 0000000000..62415e3c7a --- /dev/null +++ b/examples/Demo/Shared/Components/NewsDate.razor @@ -0,0 +1,27 @@ +
To get up and running with the Microsoft.FluentUI.AspNetCore.Components library, see the "Getting Started" section below.
- More videos on our videos page + More videos available on our videos page.
@@ -35,26 +36,25 @@
The demo and documentation sites for previous version is available:
Version 3.8.0
- Please be aware that this version is no longer supported as both .NET 6 and .NET 7 are out of support now.
+ Please be aware that this version is no longer supported as both .NET 6 and .NET 7 are out of support now.
If you are already up-and-running and upgrading from an earlier version of the library, please go to the What's new page for information on additions, fixes and (breaking) changes.
-- As described in the Blazor documentation: -
-- By default, components use Static Server-side rendering (SSR). The component renders to the response stream and there is no interactivity. --
- A component inherits its render mode from its parent. So unless a render mode is specified on the app, page or component level, every - component (including ours) is statically rendered on the server and will not be interactive. For the - Fluent UI Blazor library this means most components will display correctly but will not offer complete, if any, functionality. -
+ As described in the Blazor documentation: +
++ By default, components use Static Server-side rendering (SSR). The component renders to the response stream and there is no interactivity. ++
+ A component inherits its render mode from its parent. So unless a render mode is specified on the app, page or component level, every + component (including ours) is statically rendered on the server and will not be interactive. For the + Fluent UI Blazor library this means most components will display correctly but will not offer complete, if any, functionality. +
The Fluent UI Blazor components are built on FAST's Adaptive UI technology, which enables design customization and personalization, while diff --git a/examples/Demo/Shared/Pages/Home/Videos.razor b/examples/Demo/Shared/Pages/Home/Videos.razor index 3b2dfc2c51..3b776cec4f 100644 --- a/examples/Demo/Shared/Pages/Home/Videos.razor +++ b/examples/Demo/Shared/Pages/Home/Videos.razor @@ -6,7 +6,7 @@
Every now and then, we do guests appearances in videos to promote the library and show a bit more on how it works. See the overview below for our most recent appearances
+Every now and then, we present or do guests appearances in videos to promote the library and show a bit more on how it works. See the overview below for our most recent appearances
- To make it easier to start a project that uses the Fluent UI Web Components for Blazor out of the box, we have created the - Microsoft.FluentUI.AspNetCore.Templates template package. -
-- The package contains templates for creating Blazor Server and/or Blazor WebAssembly apps which mimic the regular Blazor - templates. The Fluent UI Blazor components are already fully set up. If you choose to use the sample pages when creating a project, - all components have been replaced with Fluent UI counterparts (and a few extra have been added). All Bootstrap styling is removed of course as well. -
-- If you want to use the Icon component with applications based on the templates, we have already included and set up the Icon package for you. - The full collection of approximately 12 thousand icons in different variants and sizes can be browsed and searched from the Icon page. -
-- If you want to use the Emoji component with applications based on the templates, you still need to make some changes to the project. See the - Icons and Emoji page for more information. -
+- The pages created from these templates will appear like the following based on the type of project and options selected during creation. -
-
-
-
-
-
-
-
-IMPORTANT!! -+ [CascadingParameter] + public EventCallback OnRefreshTableOfContents { get; set; } -Just as with the standard Blazor Web App template, Blazor will use SSR by default. If you want to have interactive components, make sure you add a rendermode to the app, page or component!
-
- You can install the templates by running the following command: -
- -- The current version can be found on the NuGet site. -
- -- After installing the templates, you can create a new project from either the CLI or by using the 'Creating a new project'-dialog in Visual Studio 2022. -
- -- For creating a new Fluent Blazor Web App project from the CLI: -
- -- For creating a Fluent Blazor WebAssembly Standalone App project from the CLI: -
- -- In Visual Studio you can create a new project by selecting either the 'Fluent Blazor Web App' template or the 'Fluent Blazor WebAssembly Standalone App' - template in the 'File->New->Project'-dialog. It looks like this: -
-
-
-
- The rendermode and interactivity choices made when creating an application with the template determine the behavior of the NavMenu and whether we include the web
- components script in App.razor. Starting with v4.2.1 of the templates, the result of that choices is described in the table below:
-
-
| Rendermode / Interactivity | -NavMenu @@rendermode | -NavMenu Collapsible | -
|---|---|---|
| SSR / not applicable | -❌ | -✅* | -
| Server / Global | -❌ | -✅ | -
| Server / Per Page | -✅ | -✅ | -
| WebAssembly / Global** | -❌ | -✅ | -
| WebAssembly / Per Page** | -✅ | -✅ | -
| Auto / Global** | -❌ | -✅ | -
| Auto / Per Page** | -✅ | -✅ | -
- * For expanding/collapsing items, this uses a JavaScript file that is only active when running in SSR mode.
- ** The NavMenu component is located in the Client project.
-
- If you want to uninstall the templates, both from the CLI and Visual Studio 2022, run the following command: -
- -