Skip to content

Commit 07669a4

Browse files
committed
Tweak information and structure a bit.
1 parent b58377b commit 07669a4

File tree

1 file changed

+39
-32
lines changed

1 file changed

+39
-32
lines changed

doc/en/components/general-getting-started-oss.md

Lines changed: 39 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,18 @@ The open-source libraries include:
1919

2020
## Create a New Blazor Project
2121

22-
Start Visual Studio 2022 and click **Create a new project** on the start page, select a Blazor template such as **Blazor Server App**, **Blazor WebAssembly App**, or **Blazor Web App**, and click **Next**.
22+
- Start Visual Studio 2022 and click **Create a new project** on the start page, select a Blazor template such as **Blazor Server App**, **Blazor WebAssembly App**, or **Blazor Web App**, and click **Next**.
2323

24-
Provide a project name and location, then click **Next**.
24+
- Provide a project name and location, then click **Next**.
2525

26-
Specify additional project options and click **Create**.
26+
- Specify additional project options and click **Create**.
2727

2828
## Install IgniteUI.Blazor.Lite
2929

3030
The IgniteUI.Blazor.Lite package contains open-source UI components delivered via NuGet.
3131

3232
In Visual Studio, open the NuGet package manager by selecting **Tools****NuGet Package Manager****Manage NuGet Packages for Solution**. Search for and install the **IgniteUI.Blazor.Lite** NuGet package.
3333

34-
<img src="https://img.shields.io/nuget/v/IgniteUI.Blazor.Lite?label=NuGet" alt="NuGet Version" />
35-
36-
[View on NuGet](https://www.nuget.org/packages/IgniteUI.Blazor.Lite)
37-
3834
Or install via the Package Manager Console:
3935

4036
```cmd
@@ -73,28 +69,44 @@ var app = builder.Build();
7369

7470
3 - Add the Style Sheet in the appropriate location based on your project type:
7571

76-
For Blazor Server Apps, add to **Pages/_Layout.cshtml** or **Pages/_Host.cshtml**:
77-
7872
```razor
7973
<head>
8074
<link href="_content/IgniteUI.Blazor/themes/light/bootstrap.css" rel="stylesheet" />
8175
</head>
8276
```
8377

84-
For Blazor WebAssembly Apps, add to **wwwroot/index.html**:
78+
4 - Add Script Reference:
8579

8680
```razor
87-
<head>
88-
<link href="_content/IgniteUI.Blazor/themes/light/bootstrap.css" rel="stylesheet" />
89-
</head>
81+
<script src="_content/IgniteUI.Blazor/app.bundle.js"></script>
9082
```
9183

92-
4 - Add Script Reference:
84+
## Using the OSS Blazor Components
85+
86+
Add an Ignite UI for Blazor component to your razor page, for example:
9387

9488
```razor
95-
<script src="_content/IgniteUI.Blazor/app.bundle.js"></script>
89+
<IgbCard style="width:350px">
90+
<IgbCardMedia>
91+
<img src="https://images.unsplash.com/photo-1541516160071-4bb0c5af65ba?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=350&q=80" />
92+
</IgbCardMedia>
93+
<IgbCardHeader>
94+
<h4>Jane Doe</h4>
95+
<h6>Professional Photographer</h6>
96+
</IgbCardHeader>
97+
<IgbCardContent>Hi! I'm Jane, photographer and filmmaker.
98+
Photography is a way of feeling, of touching,
99+
of loving. What you have caught on film is captured forever...
100+
it remembers little things, long after you have
101+
forgotten everything.</IgbCardContent>
102+
<IgbCardActions>
103+
<IgbButton>More Info</IgbButton>
104+
</IgbCardActions>
105+
</IgbCard>
96106
```
97107

108+
For more detailed information about which components are included in the light package, see the - [Open-Source vs Premium Components](general-open-source-vs-premium.md) topic.
109+
98110
## Grid Lite
99111

100112
The Grid Lite component is a lightweight, open-source data grid that provides essential features for displaying tabular data.
@@ -103,10 +115,6 @@ The Grid Lite component is a lightweight, open-source data grid that provides es
103115

104116
In Visual Studio, open the NuGet package manager by selecting **Tools****NuGet Package Manager****Manage NuGet Packages for Solution**. Search for and install the **IgniteUI.Blazor.GridLite** NuGet package.
105117

106-
<img src="https://img.shields.io/nuget/v/IgniteUI.Blazor.GridLite?label=NuGet" alt="NuGet Version" />
107-
108-
[View on NuGet](https://www.nuget.org/packages/IgniteUI.Blazor.GridLite)
109-
110118
Or install via the Package Manager Console:
111119

112120
```cmd
@@ -118,23 +126,23 @@ Or via .NET CLI:
118126
```cmd
119127
dotnet add package IgniteUI.Blazor.GridLite
120128
```
129+
### Using Grid Lite
121130

122-
### Grid Lite Features
131+
1 - Add the **IgniteUI.Blazor.Controls** namespace in the **_Imports.razor** file:
123132

124-
The Grid Lite component includes the following features:
133+
```razor
134+
@using IgniteUI.Blazor.Controls
135+
```
125136

126-
- Column Filtering
127-
- Column Hiding
128-
- Column Resizing
129-
- Column Sorting
130-
- Row Virtualization
131-
- Accessibility Support
132-
- Themes and Styling
133-
- Column Data Types
137+
2 - Add the Style Sheet in the appropriate location based on your project type:
134138

135-
### Using Grid Lite
139+
```razor
140+
<head>
141+
<link href="_content/IgniteUI.Blazor.GridLite/css/themes/light/bootstrap.css" rel="stylesheet" />
142+
</head>
143+
```
136144

137-
Add the Grid Lite component to your razor page:
145+
3 - Add the Grid Lite component to your razor page:
138146

139147
```razor
140148
<IgbGridLite Data="data" AutoGenerateColumns="true">
@@ -156,4 +164,3 @@ For more detailed information about Grid Lite features and configuration, see th
156164

157165
- [Open-Source vs Premium Components](general-open-source-vs-premium.md)
158166
- [Grid Lite Overview](grid-lite/overview.md)
159-
- [GitHub Repository]({GithubLinkLite})

0 commit comments

Comments
 (0)