11 2022 档案

摘要:路径../../麻烦容易出错,修改配置采用@代替 vue3 有些模块、有关node类型的变量ts错误提示找不到,如找不到名称 “path” import { resolve } from "path" npm i @types/node 阅读全文
posted @ 2022-11-30 11:25 杀马特、阿希 阅读(799) 评论(0) 推荐(0)
摘要:.运行npm install 时,卡在sill idealTree buildDeps没有反应 npm install一直停留在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch可以使用如下命令设置 阅读全文
posted @ 2022-11-12 11:29 杀马特、阿希 阅读(290) 评论(0) 推荐(0)
摘要:1.安装 Microsoft.AspNetCore.Authentication.JwtBearer2.在 appsetting.json 中,添加一个 Jwt 节点 "Jwt": { "SecretKey": "zhangxigege@qq.com", "Issuer": "WebAppIssue 阅读全文
posted @ 2022-11-11 16:04 杀马特、阿希 阅读(683) 评论(0) 推荐(0)
摘要:vite.config.ts 根目录文件配置 export default defineConfig({ plugins: [vue()], server: { port: 3000, open: true, //自动打开 base: "./ ", //生产环境路径 proxy: { // 本地开发 阅读全文
posted @ 2022-11-07 16:17 杀马特、阿希 阅读(8492) 评论(0) 推荐(0)