浏览代码

chore(组件): 更换icon

gemercheung 2 年之前
父节点
当前提交
c371b6d4ae

+ 2 - 0
docs/.vitepress/vitepress/components/demo/vp-example.vue

@@ -68,6 +68,8 @@ watchEffect(async () => {
             'https://cdn.jsdelivr.net/npm/@vue/shared@latest/dist/shared.esm-bundler.js',
             'https://cdn.jsdelivr.net/npm/@vue/shared@latest/dist/shared.esm-bundler.js',
           'kankan-components':
           'kankan-components':
             'https://4dkk.4dage.com/npm_test/kankan-components/dist/index.full.min.mjs',
             'https://4dkk.4dage.com/npm_test/kankan-components/dist/index.full.min.mjs',
+          '@kankan-components/icons-vue':
+            'https://4dkk.4dage.com/npm_test/%40kankan-components/icon-vue/dist/index.min.js',
         },
         },
       })
       })
       const mainFile = new File('PlaygroundMain.vue', mainCode)
       const mainFile = new File('PlaygroundMain.vue', mainCode)

+ 1 - 1
docs/examples/button/basic.vue

@@ -45,5 +45,5 @@ import {
   Message,
   Message,
   Search,
   Search,
   Star,
   Star,
-} from '@element-plus/icons-vue'
+} from '@kankan-components/icons-vue'
 </script>
 </script>

+ 1 - 1
docs/examples/button/group.vue

@@ -21,5 +21,5 @@ import {
   Delete,
   Delete,
   Edit,
   Edit,
   Share,
   Share,
-} from '@element-plus/icons-vue'
+} from '@kankan-components/icons-vue'
 </script>
 </script>

+ 7 - 1
docs/examples/button/icon.vue

@@ -11,5 +11,11 @@
 </template>
 </template>
 <script setup lang="ts">
 <script setup lang="ts">
 import { KkButton } from 'kankan-components'
 import { KkButton } from 'kankan-components'
-import { Delete, Edit, Search, Share, Upload } from '@element-plus/icons-vue'
+import {
+  Delete,
+  Edit,
+  Search,
+  Share,
+  Upload,
+} from '@kankan-components/icons-vue'
 </script>
 </script>

+ 1 - 1
docs/examples/button/loading.vue

@@ -26,7 +26,7 @@
 
 
 <script lang="ts" setup>
 <script lang="ts" setup>
 import { KkButton } from 'kankan-components'
 import { KkButton } from 'kankan-components'
-import { Eleme } from '@element-plus/icons-vue'
+import { Eleme } from '@kankan-components/icons-vue'
 </script>
 </script>
 
 
 <style scoped>
 <style scoped>

+ 1 - 1
docs/examples/button/size.vue

@@ -24,5 +24,5 @@
 
 
 <script setup lang="ts">
 <script setup lang="ts">
 import { KkButton } from 'kankan-components'
 import { KkButton } from 'kankan-components'
-import { Search } from '@element-plus/icons-vue'
+import { Search } from '@kankan-components/icons-vue'
 </script>
 </script>

+ 1 - 1
docs/examples/dialog/customization-header.vue

@@ -19,7 +19,7 @@
 <script lang="ts" setup>
 <script lang="ts" setup>
 import { ref } from 'vue'
 import { ref } from 'vue'
 import { KkButton, KkDialog } from 'kankan-components'
 import { KkButton, KkDialog } from 'kankan-components'
-import { CircleCloseFilled } from '@element-plus/icons-vue'
+import { CircleCloseFilled } from '@kankan-components/icons-vue'
 
 
 const visible = ref(false)
 const visible = ref(false)
 </script>
 </script>