8000 docs: update content · 8proCode/coreui-react@d6c1c0f · GitHub
[go: up one dir, main page]

Skip to content

Commit d6c1c0f

Browse files
committed
docs: update content
1 parent 5557919 commit d6c1c0f

File tree

1 file changed

+23
-12
lines changed

1 file changed

+23
-12
lines changed

packages/docs/content/getting-started/introduction.mdx

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,50 @@ route: /getting-started/introduction
1111
### Npm
1212

1313
```bash
14-
npm install @coreui/react
14+
npm install @coreui/react @coreui/coreui
15+
```
16+
17+
If you use CoreUI PRO version.
18+
19+
```bash
20+
npm install @coreui/react-pro @coreui/coreui-pro
1521
```
1622

1723
### Yarn
1824

1925
```bash
20-
yarn add @coreui/react
26+
yarn add @coreui/react @coreui/coreui
27+
```
28+
29+
If you use CoreUI PRO version.
30+
31+
```bash
32+
yarn add @coreui/react-pro @coreui/coreui-pro
2133
```
2234

35+
2336
## Using components
2437

2538
```jsx
39+
import { CAlert } from '@coreui/react';
2640

27-
import { Alert } from '@coreui/react';
28-
41+
// CoreUI PRO version
42+
import { CAlert } from '@coreui/react-pro';
2943
```
3044

3145
## Stylesheets
3246

33-
React components are styled using `@coreui/coreui` CSS library, but you can use them also with bootstrap CSS library. That is possible because `@coreui/coreui` library is compatible with bootstrap, it just extends its functionalities. The only exception is custom CoreUI components, which don't exist in the Bootstrap ecosystem.
34-
35-
### CoreUI CSS files
36-
37-
###### Installation
47+
React components are styled using the `@coreui/coreui` or `@coreui/coreui-pro` CSS library, but you can also use them with the bootstrap CSS library. That is possible because the `@coreui/coreui` library is compatible with Bootstrap, it just extends its functionalities. The only exceptions are custom CoreUI and CoreUI PRO components, which don't exist in the Bootstrap ecosystem.
3848

39-
```bash
40-
npm install @coreui/coreui
41-
```
49+
### CoreUI and CoreUI PRO CSS files
4250

4351
###### Basic usage
4452

4553
```js
4654
import '@coreui/coreui/dist/css/coreui.min.css'
55+
56+
// CoreUI PRO version
57+
import '@coreui/coreui-pro/dist/css/coreui.min.css'
4758
```
4859

4960
### Bootstrap CSS files

0 commit comments

Comments
 (0)
0