效果参考 Element Plus 文档官网的暗黑切换动画,原理就是gsap圆形遮罩clip-path动画 + sass样式变量管理 + mix-blend-mode: difference 互补色,这样动画和样式过渡的就很丝滑。
This template should help get you started developing with Vue 3 in Vite.
VSCode + Volar (and disable Vetur).
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.
See Vite Configuration Reference.
pnpm installpnpm devpnpm buildLint with ESLint
pnpm lint