perf: 首屏优化,减少 1.5MB 资源

This commit is contained in:
xiaoxian521
2022-11-29 19:30:33 +08:00
parent a22bc8622e
commit d2b1bd5b44
17 changed files with 1842 additions and 4612 deletions

View File

@@ -1,4 +1,5 @@
<script setup lang="ts">
import "animate.css";
import { setType } from "./types";
import { emitter } from "@/utils/mitt";
import { useLayout } from "./hooks/useLayout";