File tree Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 11import type { ClientAppEnhance } from '@vuepress/client'
2+ import { CIcon } from '@coreui/icons-vue'
23import CoreuiVue from '../../src/'
34import '@coreui/coreui/scss/coreui.scss'
45
6+ import { cilPuzzle , cilSpeedometer } from '@coreui/icons'
7+
8+ export const icons = {
9+ cilPuzzle,
10+ cilSpeedometer,
11+ }
12+
513const clientAppEnhance : ClientAppEnhance = ( { app } ) => {
614 app . use ( CoreuiVue )
15+ app . provide ( 'icons' , icons )
16+ app . component ( 'CIcon' , CIcon )
717}
818
9- export default clientAppEnhance
19+ export default clientAppEnhance
Original file line number Diff line number Diff line change 3434 "dependencies" : {
3535 "@coreui/coreui" : " ^4.0.1" ,
3636 "@coreui/icons" : " ^2.0.1" ,
37- "@coreui/icons-vue" : " ^1.3.5 " ,
37+ "@coreui/icons-vue" : " ^2.0.0-alpha.1 " ,
3838 "@popperjs/core" : " ^2.9.1" ,
3939 "@vue/server-renderer" : " ^3.0.10" ,
4040 "vue-prism-component" : " ^2.0.0"
Original file line number Diff line number Diff line change 984984 resolved "https://registry.yarnpkg.com/@coreui/coreui/-/coreui-4.0.1.tgz#e5faf540aeea31b0cc8d428d73080a364e4bc6fd"
985985 integrity sha512-1mrWnbqoWb7+8ZAMUdlWt0AqVzDEkJglk7F3OaFsQtxienezFvlMNsd1YPPNo+taRzF7HZ8xSDIAItCvlOaMVg==
986986
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 ==
991991 dependencies :
992- vue "~2.6.11 "
992+ vue "^3.0.10 "
993993
994994" @coreui/icons@^2.0.1 " :
995995 version "2.0.1"
@@ -8040,11 +8040,6 @@ vue@^3.0.10, vue@^3.1.5:
80408040 " @vue/runtime-dom" " 3.1.5"
80418041 " @vue/shared" " 3.1.5"
80428042
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-
80488043vuepress@^2.0.0-beta.22 :
80498044 version "2.0.0-beta.23"
80508045 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