上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 497 下一页
摘要: npm i <packagename> --legacy-peer-deps --legacy-peer-deps: Bypassing Peer Dependency Checks (Use with Caution) Packages often rely on other packages t 阅读全文
posted @ 2025-02-19 02:34 Zhentiw 阅读(39) 评论(0) 推荐(0)
摘要: Offical plugins: https://cn.vitejs.dev/plugins/ Commuity plugins: https://github.com/vitejs/awesome-vite#plugins Rollup plguins: https://vite-rollup-p 阅读全文
posted @ 2025-02-18 03:09 Zhentiw 阅读(47) 评论(0) 推荐(0)
摘要: @use 'sass:math'; @use 'sass:string'; html { background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%); height: 100%; width: 100%; over 阅读全文
posted @ 2025-02-15 23:33 Zhentiw 阅读(12) 评论(0) 推荐(0)
摘要: 一、k8s概念介绍 1、k8s介绍 kubernetes,简称K8s,是用8代替8个字符“ubernete”而成的缩写。是一个开源的,用于管理云平台中多个主机上的容器化的应用,Kubernetes的目标是让部署容器化的应用简单并且高效(powerful),Kubernetes提供了应用部署,规划,更 阅读全文
posted @ 2025-02-14 22:12 Zhentiw 阅读(227) 评论(0) 推荐(0)
摘要: In vite.config.ts resolve: { alias: { "@": path.resolve(__dirname, "src"), "@assets": path.resolve(__dirname, "src/assets"), }, }, tsconfig.json "comp 阅读全文
posted @ 2025-02-14 03:03 Zhentiw 阅读(45) 评论(0) 推荐(0)
摘要: PreProcessor Using Scss Install: pnpm add sass -D Code: // filename: src/views/404.vue <template> <div title="404">404</div> <p>Page Not Found</p> </t 阅读全文
posted @ 2025-02-13 04:03 Zhentiw 阅读(90) 评论(0) 推荐(0)
摘要: The key differences between CommonJS (CJS) and ECMAScript Modules (ESM) come down to their execution model. CommonJS (CJS) Synchronous: Each require() 阅读全文
posted @ 2025-02-12 14:56 Zhentiw 阅读(35) 评论(0) 推荐(0)
摘要: 同源策略及跨域问题 同源策略是一套浏览器安全机制,当一个源的文档和脚本,与另一个源的资源进行通信时,同源策略就会对这个通信做出不同程度的限制。 简单来说,同源策略对 同源资源 放行,对 异源资源 限制 因此限制造成的开发问题,称之为跨域(异源)问题 同源和异源 源(origin) = 协议 + 域名 阅读全文
posted @ 2025-02-11 03:50 Zhentiw 阅读(83) 评论(0) 推荐(0)
摘要: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"/> <title>Animation for auto height</title> <style> .btn { position: relative; border: no 阅读全文
posted @ 2025-02-10 00:39 Zhentiw 阅读(20) 评论(0) 推荐(0)
摘要: 前面讲的都是在git提交之前的一些流程检查,而当我们git提交的时候,提交信息,也应该是需要规范的 commitlint 在使用Git提交代码时,通常都需要填写提交说明,也就是Commit Message git commit -m '提交测试' 说白了,Commit Message就是我们提交的时 阅读全文
posted @ 2025-02-10 00:02 Zhentiw 阅读(350) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 497 下一页