File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,20 @@ Add the `fontawesome.icons.lib` library dependency to your `manifest.json` and f
4343}
4444```
4545
46- ### Method 1: Using NPM Package with UI5 middleware (Recommended)
46+ ### Method 1: Using NPM Package (Recommended)
4747
4848Install Dependencies
4949
5050``` bash
51- npm install ui5-fontawesome-lib ui5-middleware-servestatic --save-dev
51+ npm i ui5-fontawesome-lib
52+ ```
53+
54+ That should be it. The UI5 tooling will recognize the UI5 dependency (verifiable via UI5 CLI command ` UI5 tree ` ) and take care of loading it for you.
55+
56+ #### with UI5 middleware (alternative recommendation)
57+
58+ ``` bash
59+ npm i ui5-fontawesome-lib && npm i -D ui5-middleware-servestatic
5260```
5361
5462Add the following configuration to your ` ui5.yaml ` :
Original file line number Diff line number Diff line change 2323 " dist/**/*" ,
2424 " src/**/*" ,
2525 " LICENSE" ,
26- " README.md"
26+ " README.md" ,
27+ " ui5.yaml"
2728 ],
2829 "scripts" : {
2930 "build" : " npm run build:icons && ui5 build --clean-dest" ,
Original file line number Diff line number Diff line change 1- specVersion : " 1 .0"
1+ specVersion : " 4 .0"
22metadata :
33 name : fontawesome.icons.lib
44type : library
You can’t perform that action at this time.
0 commit comments