摘要: pinia 简单使用 /store/modules/user import { defineStore } from 'pinia' /** * useStroe 可以是任意命名 * 第一个参数是应用程序中 store 的唯一 id */ export const userStroe = defin 阅读全文
posted @ 2022-10-19 17:56 bule蓝色 阅读(1108) 评论(1) 推荐(0) 编辑
摘要: ts中引入path模块出错 Cannot find module 'path' or its corresponding type declarations. 解决方法 第一步 npm install -D @types/node 第二步 在tsconfig.json中添加 "compilerOpt 阅读全文
posted @ 2022-10-19 11:09 bule蓝色 阅读(2564) 评论(0) 推荐(0) 编辑