703 1 分钟

# 资源聚合 GoFilm 自动采集 & 在线观影 GoFilm项目仓库 开源项目 & 影视聚合 炫猿导航 资源搜索 & 聚合导航 书栈网 IT资料 & 书籍阅读
1.2k 1 分钟

# Vite 入门 # Compiler 原理篇 # 1.Vue3.0 带来的变化 性能提升 1.3~2x Ts 支持,新增: Fragment, Teleport, Suspense 按需加载 (配合 vite) & 组合 API # 2. 优化案例 1: 静态 Node 不再作更新处理 (hostStatic -> SSR 优化) 静态绑定的 class, id 不再作更新处理 结合打包标记 PatchFlag, 进行更新分析 (动态绑定) # 3. 优化案例 2: 事件监听器 Cache 缓存处理...
9.5k 9 分钟

# Vue3 语法变化 # vue3 配置项 # 1.vue.config.js module.exports = { devServer: { port: 80, // 程序启动端口 open: true, // 启动是是否主动打开界面 proxy: 'http://localhost:4000', // 指向开发环境 API 服务器,任何未知请求代理到此地址 }}# 2.Vue-router 配置 import...
12k 11 分钟

# Axios 用法及配置 # 1. 常用配置项 # 1. 发起 GET 请求 // Make a request for a user with a given IDaxios.get('/user?ID=12345') .then(response=> { console.log(response); }) .catch(error=> { console.log(error); });// Optionally the request above could also be done...
627 1 分钟

# NodeJS 配置 # Node 安装及基本配置 设置 Node 缓存和全局安装路径 npm config set prefix "D:\software\node\node_global" npm config set cache "D:\software\node\node_cache" 配置全局环境变量,让系统识别 vue 等相关命令 ## Node 安装路径D:\Environment\NodeJs\NodeENV\Node-V17.6.0## Node...