摘要: 卸载 node-sass npm uninstall node-sass sass-loader 安装sass和loader npm install sass-loader@10.0.5 sass@1.32.13 --save-dev 阅读全文
posted @ 2025-09-22 09:53 李笑吅 阅读(7) 评论(0) 推荐(0)
摘要: 转载:https://baijiahao.baidu.com/s?id=1809227988956316454&wfr=spider&for=pc 在构建现代 web 应用时,我们总是希望 URL 能够简洁而美观。Vue3 的 HTML5 模式通过 createWebHistory() 可以让我们的 阅读全文
posted @ 2025-08-15 11:21 李笑吅 阅读(155) 评论(0) 推荐(0)
摘要: 大屏自适应 autofit.js https://auto-plugin.github.io/autofit.js/ datav-vue3 https://datav-vue3.netlify.app/Border/BorderBox12/BorderBox12.html js工具库 Lodash 阅读全文
posted @ 2025-07-09 10:04 李笑吅 阅读(8) 评论(0) 推荐(0)
摘要: 组件之间通讯,通过 props 和 emits 进行通讯,是单向数据流,比如:props是自上而下的(父组件数据修改导致子组件更新,而自己不能修改父组件传入的 props属性),而emits是自下而上的(子组件通过事件触发父组件事件); defineModel() 返回的值是一个 ref。它可以像其 阅读全文
posted @ 2025-07-04 14:55 李笑吅 阅读(22) 评论(0) 推荐(0)
摘要: 官网:https://www.trae.com.cn/home Trae 编译器概述​ Trae 编译器作为一款创新的编程工具,专为提升编程效率、优化代码开发流程而设计。它打破了传统编译器的局限,融合了先进的智能技术,能快速准确地将多种编程语言的代码转化为可执行文件,为开发者提供了流畅且高效的编程体 阅读全文
posted @ 2025-03-11 14:04 李笑吅 阅读(1498) 评论(0) 推荐(0)
摘要: 需要先安装 @vueuse/core npm install @vueuse/core // ... 其他 import ... import { useBreakpoints } from '@vueuse/core' // ... 其他代码 ... // 添加响应式断点 const breakp 阅读全文
posted @ 2025-03-05 14:17 李笑吅 阅读(47) 评论(0) 推荐(0)
摘要: 1.使用toRaw 实现深拷贝效果 html <p>名称:<input v-model="fromdata.name" type="text"></p> <p>金额:<input v-model="fromdata.money" type="text">元</p> <button @click="s 阅读全文
posted @ 2025-02-18 15:27 李笑吅 阅读(46) 评论(0) 推荐(0)
摘要: 官网地址:https://aieditor.com.cn/zh 第一步安装: 安装: npm i aieditor vue2使用 <el-card class="box-card"> <div ref="divRef" style="height: 600px" /> <button @click= 阅读全文
posted @ 2025-01-02 11:11 李笑吅 阅读(682) 评论(1) 推荐(0)
摘要: 1.安装 npm install -g @vue/cli 2.查看版本 vue -V 3.使用 3.1 命令形式 vue create my-project 3.2可视化操作 阅读全文
posted @ 2024-12-16 10:22 李笑吅 阅读(162) 评论(0) 推荐(0)
摘要: npm install --save node-cron cron.schedule('* * * * * *', () => { console.log('running a task every minute'); }); * * * * * *┬ ┬ ┬ ┬ ┬ ┬│ │ │ │ │ ││ │ 阅读全文
posted @ 2024-09-08 21:24 李笑吅 阅读(133) 评论(0) 推荐(0)