Skip to content

Commit c12f654

Browse files
committed
Merge branch 'master' of https://github.com/CodeBeamOrg/BCSS
2 parents ea3c359 + 9cbc7a5 commit c12f654

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,19 @@
33

44
## Installation
55
1. Install CodeBeam.BCSS Nuget package
6-
76
2. Add the following to `_Imports.razor`
87
```razor
98
@using BCSS
109
```
11-
3. Add the following to`App.razor`
10+
3. Add the following to your HTML **body** section, it's either `index.html` or `_Layout.cshtml`/`_Host.cshtml` depending on whether you're running Server-Side or WASM.
11+
```html
12+
<script src="_content/CodeBeam.BCSS/Bcss.js"></script>
13+
```
14+
4. Add the following to`App.razor`
1215
```razor
1316
<BlazorCssProvider />
1417
```
15-
4. Inject the service and place the component in the page that you want to use BCSS
18+
5. Inject the service and place the component in the page that you want to use BCSS
1619
```razor
1720
@inject BCSSService Bc
1821
```

0 commit comments

Comments
 (0)