Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 43 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,49 @@
# How to use LibMan with Blazor application?
# Blazor with LibMan

This sample explains how to use the Library Manager (LibMan) with a Blazor application in Visual Studio.
This sample demonstrates how to effectively use the [Library Manager (LibMan)](https://learn.microsoft.com/aspnet/core/client-side/libman) to manage client-side dependencies in a modern Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor application. LibMan provides a lightweight alternative to npm for managing libraries like Bootstrap, Syncfusion themes, and other client-side assets directly within Visual Studio.

Whether you're new to Blazor or looking to simplify your library management workflow, this project shows best practices for integrating LibMan with Blazor's component-based architecture.

## Features

- **LibMan Integration** - Efficient client-side library management without node_modules
- **Syncfusion Theme Support** - Pre-configured Bootstrap 5 themes for UI components
- **Razor Components** - Modern interactive server-side rendering with Blazor
- **Responsive Layout** - Built-in navigation and layout components
- **Development-Optimized** - Hot reload and debugging support

## Prerequisites

* Visual Studio 2022
- [.NET SDK 9.0](https://dotnet.microsoft.com/download/dotnet/9.0) or later
- [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) or later
- [Visual Studio Code](https://code.visualstudio.com/)

## Getting Started

### Clone the Repository

```bash
git clone https://github.com/SyncfusionExamples/blazor-libman.git
cd blazor-libman
```

### Run with Visual Studio

1. Open the solution file using Visual Studio 2022 or later.
2. Restore the NuGet packages by rebuilding the solution.
3. Build the project to ensure there are no compilation errors.
4. Run the project.

### Run with .NET CLI

```bash
# Restore dependencies
dotnet restore

# Run the project
dotnet run
```

## How to run this application?
## References

* Check out this project to a location on your disk.
* Open the solution file using Visual Studio 2022.
* Restore the NuGet packages by rebuilding the solution.
* Run the project.
- [Library Manager (LibMan) Guide](https://learn.microsoft.com/aspnet/core/client-side/libman)