File tree 3 files changed +17
-12
lines changed
3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 1
1
import type { ClientAppEnhance } from '@vuepress/client'
2
+ import { CIcon } from '@coreui/icons-vue'
2
3
import CoreuiVue from '../../src/'
3
4
import '@coreui/coreui/scss/coreui.scss'
4
5
6
+ import { cilPuzzle , cilSpeedometer } from '@coreui/icons'
7
+
8
+ export const icons = {
9
+ cilPuzzle,
10
+ cilSpeedometer,
11
+ }
12
+
5
13
const clientAppEnhance : ClientAppEnhance = ( { app } ) => {
6
14
app . use ( CoreuiVue )
15
+ app . provide ( 'icons' , icons )
16
+ app . component ( 'CIcon' , CIcon )
7
17
}
8
18
9
- export default clientAppEnhance
19
+ export default clientAppEnhance
Original file line number Diff line number Diff line change 34
34
"dependencies" : {
35
35
"@coreui/coreui" : " ^4.0.1" ,
36
36
"@coreui/icons" : " ^2.0.1" ,
37
- "@coreui/icons-vue" : " ^1.3.5 " ,
37
+ "@coreui/icons-vue" : " ^2.0.0-alpha.1 " ,
38
38
"@popperjs/core" : " ^2.9.1" ,
39
39
"@vue/server-renderer" : " ^3.0.10" ,
40
40
"vue-prism-component" : " ^2.0.0"
Original file line number Diff line number Diff line change 984
984
resolved "https://registry.yarnpkg.com/@coreui/coreui/-/coreui-4.0.1.tgz#e5faf540aeea31b0cc8d428d73080a364e4bc6fd"
985
985
integrity sha512-1mrWnbqoWb7+8ZAMUdlWt0AqVzDEkJglk7F3OaFsQtxienezFvlMNsd1YPPNo+taRzF7HZ8xSDIAItCvlOaMVg==
986
986
987
- " @coreui/icons-vue@^1.3.5 " :
988
- version "1.3.5 "
989
- resolved "https://registry.yarnpkg.com/@coreui/icons-vue/-/icons-vue-1.3.5. tgz#af3a29a180d8afe1c169537bea9a890ad55ec199 "
990
- integrity sha512-GgvtUzyla/kfshaGVhqOxwWOHOCOmtACGD6SXilzw2Puz9LAX6Q9YCn20C1NIkCt8qtJ09jHyyucIZ9Eu+jv0A ==
987
+ " @coreui/icons-vue@^2.0.0-alpha.1 " :
988
+ version "2.0.0-alpha.1 "
989
+ resolved "https://registry.yarnpkg.com/@coreui/icons-vue/-/icons-vue-2.0.0-alpha.1. tgz#bfcbbed62fc8f0bbb17203b7d5f8635b56778e5f "
990
+ integrity sha512-jhs21oLa7t4oqHjldnJeEmLTt9kVbZrbSbPV0/2z7MIUl9vTlmWZDX8jg9vCErs/4BTb/xPCG/vDJ8jGoEvccw ==
991
991
dependencies :
992
- vue "~2.6.11 "
992
+ vue "^3.0.10 "
993
993
994
994
" @coreui/icons@^2.0.1 " :
995
995
version "2.0.1"
@@ -8040,11 +8040,6 @@ vue@^3.0.10, vue@^3.1.5:
8040
8040
" @vue/runtime-dom" " 3.1.5"
8041
8041
" @vue/shared" " 3.1.5"
8042
8042
8043
- vue@~2.6.11 :
8044
- version "2.6.14"
8045
- resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.14.tgz#e51aa5250250d569a3fbad3a8a5a687d6036e235"
8046
- integrity sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==
8047
-
8048
8043
vuepress@^2.0.0-beta.22 :
8049
8044
version "2.0.0-beta.23"
8050
8045
resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-2.0.0-beta.23.tgz#cfdd03f50b2c8610847a7f3f39c2adad4ed7cb21"
You can’t perform that action at this time.
0 commit comments