refactor: 重构卫星选择器为独立组件,优化代码结构和性能
Some checks failed
/ playwright (push) Blocked by required conditions
/ depcheck (push) Successful in 2m10s
/ build-and-deploy-to-vercel (push) Has been cancelled
/ surge (push) Has been cancelled
/ lint-build-and-check (push) Has been cancelled

This commit is contained in:
严浩
2025-03-12 14:29:38 +08:00
parent ff46fdd637
commit 92d795ba88
4 changed files with 209 additions and 172 deletions

View File

@ -39,10 +39,11 @@ export function Plugins() {
const plugins: PluginOption[] = [];
plugins.push(
// https://vue-macros.dev/zh-CN/guide/bundler-integration.html
VueMacros({
plugins: {
vue: Vue({ include: [/\.vue$/, /\.md$/] }),
vueJsx: VueJsx(), // 如有需要
vueJsx: VueJsx(),
// https://uvr.esm.is/guide/configuration.html
// https://github.com/posva/unplugin-vue-router
vueRouter: VueRouter({
@ -53,7 +54,7 @@ export function Plugins() {
routesFolder: 'src/pages',
}),
},
}), // https://vue-macros.dev/zh-CN/guide/bundler-integration.html
}),
// https://github.com/JohnCampionJr/vite-plugin-vue-layouts?tab=readme-ov-file#configuration
// Layouts({ defaultLayout: 'sakai-vue/AppLayout', pagesDirs: [] }),