摘要: 1.下载vue-router,在路由文件中引入相关依赖 import {createRouter, createWebHashHistory} from "vue-router"; import Foo from "../components/Foo.vue"; import Bar from ". 阅读全文
posted @ 2022-05-09 20:54 孤傲白狼 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 下载并使用依赖包 swiper vue-awesome-swiper与swiper@5以快速简洁的创建组件 npm i swiper vue-awesome-swiper swiper@5 引入swiper.css与swiper文件 import 'swiper/css/swiper.css' im 阅读全文
posted @ 2022-05-09 00:01 孤傲白狼 阅读(253) 评论(0) 推荐(0) 编辑