3.7 unplugin-auto-import 官网:https://github.com/antfu/unplugin-auto-import 按需自动导入 vue、vue-router、pinia 等的 API。 不需要这样: import { computed, ref } from "vue"; const count = ref(