06 2024 档案
摘要:目录1.封装2.调用3.效果 1.封装 <template> <transition :name="transitionName"> <div v-show="visible" class="back-to-ceiling" @click="backToTop"> <svg width="16" h
阅读全文
摘要:目录1.在构建的vue3项目中安装vue-router2.创建路由3.挂载router4.配置路由5.使用路由组件6.测试 1.在构建的vue3项目中安装vue-router npm install vue-router --save 2.创建路由 在src/router/index.ts //通过
阅读全文
摘要:目录1.在构建的vue3项目中安装element-plus2.导入element-plus3.检验 1.在构建的vue3项目中安装element-plus npm install element-plus --save 2.导入element-plus 在src下的main.ts文件导入 impor
阅读全文