Skip to content

Commit d772fd6

Browse files
committed
docs: update README.md
1 parent f2443e7 commit d772fd6

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

Diff for: README.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
[npm-coreui-vue-badge-latest]: https://img.shields.io/npm/v/@coreui/vue/latest?style=flat-square&color=brightgreen
1313
[coreui]: https://coreui.io/vue
1414

15-
> A @coreui/vue `v3` components library project
15+
> A @coreui/vue `v4` components library project
1616
1717
## Over 90 bootstrap based Vue.js components and directives!
1818

19-
### For library guide please visit our [Documentation site »](https://coreui.io/vue/docs)
19+
### For library guide please visit our [Documentation site »](https://coreui.io/vue/docs/)
2020

21-
Check out demo of components usage: [CoreUI Vue Admin Template »](https://coreui.io/vue/demo)
21+
Check out demo of components usage: [CoreUI Vue Admin Template »](https://coreui.io/vue/demo/)
2222

2323
![Template](https://coreui.io/images/github/vue-free-template-3.gif)
2424

@@ -49,14 +49,14 @@ Basic usage:
4949

5050
```js
5151
// Installing whole package
52-
import CoreuiVue from '@coreui/vue';
53-
Vue.use(CoreuiVue);
52+
import CoreuiVue from '@coreui/vue@next';
53+
app.use(CoreuiVue);
5454

5555
// Registering a single component
5656
import { CSwitch, CButton } from '@coreui/vue';
5757

5858
// globally
59-
Vue.component('CButton', CButton)
59+
app.component('CButton', CButton)
6060

6161
export default {
6262
...
@@ -72,10 +72,10 @@ export default {
7272

7373
```js
7474
// Registering single directives
75-
import { CEmitRootEvent, CTooltip } from '@coreui/vue';
75+
import { CPopover, CTooltip } from '@coreui/vue';
7676

7777
// globally
78-
Vue.directive('c-emit-root-event', CEmitRootEvent)
78+
app.directive('c-tooltip', CTooltip)
7979

8080
export default {
8181
...
@@ -93,7 +93,7 @@ Components are imported from CommonJS module by default, if you want to use only
9393

9494
```js
9595
// Import components this way to allow tree shaking
96-
import { CDataTable } from '@coreui/vue/src';
96+
import { CAlert } from '@coreui/vue/src';
9797
```
9898

9999
### Code autocompletion
@@ -106,8 +106,6 @@ See the GitHub [release history](https://github.com/coreui/coreui-vue/releases).
106106

107107
### Contributing
108108

109-
See [CONTRIBUTING.md](https://github.com/coreui/coreui-vue/blob/master/CONTRIBUTING.md).
109+
See [CONTRIBUTING.md](https://github.com/coreui/coreui-vue/blob/v4/CONTRIBUTING.md).
110110

111-
### Credits
112111

113-
Some design ideas and solutions in this library are inspired by [Bootstrap-Vue library](https://bootstrap-vue.js.org/)

0 commit comments

Comments
 (0)