You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-16Lines changed: 11 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
### [@coreui/icons-react](https://coreui.io/) for [CoreUI for React](https://coreui.io/react/)
1
+
### [@coreui/icons-react](https://icons.coreui.io/) for [CoreUI for React](https://coreui.io/react/)
2
2
3
3
[![npm package][npm-badge]][npm]
4
4
[![NPM downloads][npm-download]][npm]
@@ -19,6 +19,13 @@ npm install @coreui/icons
19
19
npm install @coreui/icons-react
20
20
```
21
21
22
+
or
23
+
24
+
```bash
25
+
yarn add @coreui/icons
26
+
yarn add @coreui/icons-react
27
+
```
28
+
22
29
##### import:
23
30
```jsx
24
31
import { CIcon } from'@coreui/icons-react';
@@ -41,23 +48,11 @@ render() {
41
48
}
42
49
...
43
50
```
44
-
45
-
---
46
-
47
-
- bootstrapped with [nwb](https://github.com/insin/nwb) toolkit
48
-
49
-
##### `npm run` scripts
51
+
##### scripts:
50
52
51
53
`package.json` is configured with `"scripts"` we can use with `npm run` while developing the project.
52
54
53
55
Command | Description |
54
56
--- | ---
55
-
`npm run build` | prepare for publishing to npm
56
-
`npm run clean` | delete built resources
57
-
`npm test` | run tests
58
-
`npm run test:coverage` | run tests and produce a code coverage report in `coverage/`
59
-
<del>`npm run test:watch`</del> | n/a ~~start a test server and re-run tests on every change~~
60
-
<del>`npm start`</del> | n/a ~~start a development server for the demo app~~
61
-
62
-
#### see also:
63
-
- [Developing React Components and Libraries with nwb](https://github.com/insin/nwb/blob/master/docs/guides/ReactComponents.md#developing-react-components-and-libraries-with-nwb)
0 commit comments