摘要: <script setup lang="ts"> interface Props { title: string list: any[] } defineOptions({ name: 'BaseAccordion' }) defineProps<Props>() const isLayerOpen 阅读全文
posted @ 2025-06-14 23:22 犬の技術 阅读(5) 评论(0) 推荐(0)
摘要: 用这个来判断,就只有pc鼠标会触发hover效果,不再需要其他的判断。@media (hover:hover) and (pointer:fine){ } 阅读全文
posted @ 2025-06-06 23:03 犬の技術 阅读(15) 评论(0) 推荐(0)
摘要: import { acceptHMRUpdate, defineStore } from 'pinia' /** * 配置persist使store的状态存储在本地存储中 * 用store的用法来使用本地存储 * @see https://prazdevs.github.io/pinia-plugi 阅读全文
posted @ 2025-06-06 23:01 犬の技術 阅读(9) 评论(0) 推荐(0)
摘要: 创建项目 pnpm create vite 安装依赖 pnpm i @vueuse/core axios lodash pinia vue-router pnpm i -D @antfu/eslint-config autoprefixer eslint postcss prettier sass- 阅读全文
posted @ 2025-03-02 16:46 犬の技術 阅读(11) 评论(0) 推荐(0)
摘要: 要让编辑器(例如 VS Code)自动处理多余的空格、自动格式化代码(如将 <div></div> 转换为 <div />),你可以安装和配置以下工具: 1. Prettier(推荐) Prettier 是一款流行的代码格式化工具,支持多种语言和格式化规则。它可以自动处理多余的空格、代码缩进、以及将 阅读全文
posted @ 2024-10-24 18:13 犬の技術 阅读(282) 评论(0) 推荐(0)
摘要: /** 24 */const array3 = [ [ "monster", "shuffle", "dawn", "mistake", "strong", "senior", "ozone", "correct", "until", "left", "orange", "point", "guil 阅读全文
posted @ 2024-10-03 22:50 犬の技術 阅读(16) 评论(0) 推荐(0)
摘要: /** 33 */ const array2 = [ [ "bus", "monkey", "steel", "pencil", "hurt", "silk", "decade", "flavor", "trial", "quote", "bright", "admit", "apart", "sm 阅读全文
posted @ 2024-09-21 00:49 犬の技術 阅读(10) 评论(0) 推荐(0)
摘要: /** 23 */ const array1 = [ [ "birth", "under", "rebel", "light", "attend", "banana", "script", "math", "purchase", "leopard", "ordinary", "unit", "mul 阅读全文
posted @ 2024-09-07 22:55 犬の技術 阅读(17) 评论(0) 推荐(0)
摘要: 一款免费的AI命令行工具Warphttps://www.warp.dev/?gad_source=1&gclid=CjwKCAjwodC2BhAHEiwAE67hJLoy25DEQWXcWewRMPWF6uiu0O7LI6RZk8XD5E4E338smfr3XHKI9xoCa4UQAvD_BwE 阅读全文
posted @ 2024-09-03 20:19 犬の技術 阅读(166) 评论(0) 推荐(0)
摘要: https://ipapi.co/json 阅读全文
posted @ 2024-06-22 23:48 犬の技術 阅读(26) 评论(0) 推荐(0)