Skip to content

Commit 5edbe31

Browse files
committed
Updated readme
1 parent 4f80b93 commit 5edbe31

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,27 @@ View it in action [here](https://joadan.github.io/Blazor-ApexCharts/basic-charts
77

88
**Please note: Not production ready.**
99

10-
## Nuget
10+
11+
## Installation
12+
### Nuget
1113
[Blazor-ApexCharts](https://www.nuget.org/packages/Blazor-ApexCharts/)
14+
15+
```bash
16+
dotnet add package Blazor-ApexCharts
17+
```
18+
19+
## Usage
20+
21+
### Assets
22+
In your `_Host.cshtml` (server-side) or in your `index.html` (client-side) add the following lines to the `body` tag **after** the `_framework` reference
23+
24+
```html
25+
<script src="_content/Blazor-ApexCharts/js/apex-charts.min.js"></script>
26+
<script src="_content/Blazor-ApexCharts/js/blazor-apex-chart.js"></script>
27+
```
28+
29+
### Imports
30+
Now add a reference to `Blazor-ApexCharts` in your `_Imports.razor`
31+
```csharp
32+
@using ApexCharts;
33+
```

0 commit comments

Comments
 (0)