mirror of
https://github.com/ZiuChen/ZiuChen.github.io.git
synced 2025-08-17 06:49:38 +08:00
chore: 依赖升级
This commit is contained in:
parent
d1f2269fbe
commit
73252a5728
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="img-slider">
|
||||
<Swiper :modules="modules" autoplay loop>
|
||||
<Swiper autoplay loop>
|
||||
<template v-for="{ src, alt } of imgSliderList" :key="src">
|
||||
<SwiperSlide>
|
||||
<img :src="src" :alt="alt" />
|
||||
@ -12,7 +12,6 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { PropType } from 'vue'
|
||||
import { Autoplay } from 'swiper'
|
||||
import { Swiper, SwiperSlide } from 'swiper/vue'
|
||||
import type { ImgSliderList } from '../types'
|
||||
import 'swiper/css'
|
||||
@ -23,6 +22,4 @@ defineProps({
|
||||
required: true
|
||||
}
|
||||
})
|
||||
|
||||
const modules = [Autoplay]
|
||||
</script>
|
||||
|
15
package.json
15
package.json
@ -6,15 +6,18 @@
|
||||
"preview": "vitepress preview docs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.19.4",
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@types/node": "^20.12.2",
|
||||
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
||||
"ant-design-vue": "^4.1.0",
|
||||
"vite": "^5.0.11",
|
||||
"vue": "^3.4.5"
|
||||
"ant-design-vue": "^4.1.2",
|
||||
"less": "^4.2.0",
|
||||
"vite": "^5.2.7",
|
||||
"vue": "^3.4.21"
|
||||
},
|
||||
"dependencies": {
|
||||
"lodash-es": "^4.17.21",
|
||||
"medium-zoom": "^1.1.0",
|
||||
"swiper": "^9.4.1",
|
||||
"vitepress": "1.0.0-rc.22"
|
||||
"swiper": "^11.1.0",
|
||||
"vitepress": "1.0.2"
|
||||
}
|
||||
}
|
||||
|
1614
pnpm-lock.yaml
generated
1614
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user