10 2022 档案

摘要:preprocessorOptions: { scss: { additionalData: `@use "./src/assets/scss/style.scss" as *;@use "./src/assets/scss/index.scss" as *;@use "./src/assets/s 阅读全文
posted @ 2022-10-25 14:09 bule蓝色 阅读(940) 评论(0) 推荐(0)
摘要:pinia 简单使用 /store/modules/user import { defineStore } from 'pinia' /** * useStroe 可以是任意命名 * 第一个参数是应用程序中 store 的唯一 id */ export const userStroe = defin 阅读全文
posted @ 2022-10-19 17:56 bule蓝色 阅读(1459) 评论(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蓝色 阅读(3264) 评论(0) 推荐(0)