04 2023 档案

摘要:在项目根目录下创建 jsconfig.js 并配置以下代码 { "compilerOptions": { "baseUrl": "./", "paths": { "@/*": ["src/*"] } }, "exclude": ["node_modules", "dist"], "include": 阅读全文
posted @ 2023-04-21 09:56 huihuihero 阅读(263) 评论(0) 推荐(0) 编辑
摘要:DevTools failed to load source map: Could not load content for webpack:///node_modules/element-plus/es/index.mjs.map: Fetch through target failed: Uns 阅读全文
posted @ 2023-04-20 10:22 huihuihero 阅读(558) 评论(0) 推荐(0) 编辑
摘要:###标准化浏览器样式差异 项目引入normalize.css,(引入顺序根据优先级从小到大-->从上往下) https://gitcode.net/mirrors/necolas/normalize.css?utm_source=csdn_github_accelerator ###标准化富文本样 阅读全文
posted @ 2023-04-14 11:35 huihuihero 阅读(11) 评论(0) 推荐(0) 编辑
摘要:###前提条件 src/components/TEditor.vue里,引入自带的paste插件 在配置项(init)里的plugins里添加 paste ###关于粘贴图片自动上传 【效果】用户复制一个本地图片或者截图后,在编辑器里粘贴,首先以blob文件流形式展示; 然后执行自动上传到接口,并在 阅读全文
posted @ 2023-04-14 11:10 huihuihero 阅读(1294) 评论(0) 推荐(1) 编辑
摘要:###https://juejin.cn/post/7031432455357743140 ###https://juejin.cn/post/6844903705540558856 阅读全文
posted @ 2023-04-13 12:15 huihuihero 阅读(29) 评论(0) 推荐(0) 编辑
摘要:###src/store/index.js import { createStore } from "vuex"; import modules from "./modules"; // 创建store实例 const store = createStore({ modules, }) //挂载到v 阅读全文
posted @ 2023-04-13 08:56 huihuihero 阅读(436) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/f82e06abc10e/ 阅读全文
posted @ 2023-04-12 16:51 huihuihero 阅读(35) 评论(0) 推荐(0) 编辑
摘要:##分析项目代码体积 yarn add webpack-bundle-analyzer 在webpack.dev.conf.js中配置 const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlug 阅读全文
posted @ 2023-04-10 15:38 huihuihero 阅读(382) 评论(0) 推荐(0) 编辑
摘要:##转自:槐序之夏: https://blog.csdn.net/qq_42403643/article/details/129264032 一、为什么要使用路由懒加载 为给客户更好的客户体验,首屏组件加载速度更快一些,解决白屏问题。 二、定义 懒加载简单来说就是延迟加载或按需加载,即在需要的时候的 阅读全文
posted @ 2023-04-10 15:35 huihuihero 阅读(961) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_45037155/article/details/128465166 阅读全文
posted @ 2023-04-07 11:45 huihuihero 阅读(4) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示