上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 25 下一页
摘要: vue.config.js module.exports = { // 修改标题 chainWebpack: (config) => { config.plugin("html").tap((args) => { args[0].title = "New Name"; return args; }) 阅读全文
posted @ 2022-03-15 14:47 柯宝宝智商感人 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1. 导航菜单设置成router 模式 2. 面包屑组件监听路由变化 // Bread.vue <template> <div class="bread-crumb-container"> <el-breadcrumb separator-class="el-icon-arrow-right"> < 阅读全文
posted @ 2022-03-11 10:58 柯宝宝智商感人 阅读(912) 评论(0) 推荐(0) 编辑
摘要: <div> <button id="btn">测试</button> <a href="public/favicon.ico" download="fav.icon" id="test">asf</a> </div> <script> document.getElementById('btn').o 阅读全文
posted @ 2022-03-06 08:11 柯宝宝智商感人 阅读(110) 评论(0) 推荐(0) 编辑
摘要: vue项目中,把已经写好的html直接放进去,而不经过编译,直接跳转html页面 项目根目录里,如果有public文件夹,则直接放进public文件夹里,与index.html 同级开始,按照项目路径访问。 例如:在public新建pages/test.html, 则: 浏览器访问路径是: http 阅读全文
posted @ 2022-03-06 06:48 柯宝宝智商感人 阅读(5930) 评论(0) 推荐(1) 编辑
摘要: 下载 @fancyapps/ui npm install @fancyapps/ui -S 新建组件src/components/FancyApp.vue, 文件代码如下: <template> <div class="fancy-app"> <div :id="mainId" class="mai 阅读全文
posted @ 2022-03-04 16:32 柯宝宝智商感人 阅读(363) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 25 下一页