- Sprint layout component library how to#
- Sprint layout component library code#
- Sprint layout component library download#
Sprint layout component library how to#
To learn how to use the Stepper and the rest of the components in the package, see the Getting Started with the Kendo UI for Vue Layout Package guide. The procedures for installing, importing, and using all components in the library are identical. Replace the markup in RazorUIClassLib/Areas/MyFeature/Pages/.cshtml with the following code: *, Stepper is part of the Kendo UI for Vue Layout component library. RazorUIClassLib\Areas\MyFeature\Pages\Shared\_Message.cshtml Replace the markup in RazorUIClassLib/Areas/MyFeature/Pages/Shared/_Message.cshtml with the following code: _Message.cshtml partial view. Add Razor files and folders to the project The _ViewStart.cshtml file is required to use the layout of the Razor Pages project (which is added in the next section).
Sprint layout component library download#
You can leave feedback in this GitHub issue with your comments on download samples versus step-by-step instructions.
Sprint layout component library code#
The sample download contains additional code and links that make the project easy to test. You can download the complete project and test it rather than creating it. Walkthrough: Create an RCL project and use from a Razor Pages project See Creating NuGet packages and dotnet add package and Create and publish a NuGet package. See RCL Pages layout to create an RCL that exposes content in ~/Pages rather than ~/Areas/Pages. The ASP.NET Core templates assume the RCL content is in the Areas folder. To avoid a file name collision with the generated view library, ensure the library name doesn't end in. Pass the -support-pages-and-views option ( dotnet new razorclasslib -support-pages-and-views) to provide support for pages and views.įor more information, see dotnet new. The Razor class library (RCL) template defaults to Razor component development by default. For example: dotnet new razorclasslib -o RazorUIClassLib The Support pages and views option supports pages and views.įrom the command line, run dotnet new razorclasslib. By default, only Razor components are supported. Check ☑ Support pages and views to support views.