refactor: 重构卫星选择器为独立组件,优化代码结构和性能
This commit is contained in:
@ -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: [] }),
|
||||
|
Reference in New Issue
Block a user