mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 优化路由导入页面写法,页面路由调整
This commit is contained in:
3
src/views/about/index.ts
Normal file
3
src/views/about/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import About from './index.vue';
|
||||
|
||||
export { About };
|
6
src/views/component/button/index.vue
Normal file
6
src/views/component/button/index.vue
Normal file
@ -0,0 +1,6 @@
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
<style scoped></style>
|
6
src/views/component/card/index.vue
Normal file
6
src/views/component/card/index.vue
Normal file
@ -0,0 +1,6 @@
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
<style scoped></style>
|
4
src/views/component/index.ts
Normal file
4
src/views/component/index.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import ComponentButton from './button/index.vue';
|
||||
import ComponentCard from './card/index.vue';
|
||||
|
||||
export { ComponentButton, ComponentCard };
|
4
src/views/dashboard/index.ts
Normal file
4
src/views/dashboard/index.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import DashboardAnalysis from './analysis/index.vue';
|
||||
import DashboardWorkbench from './workbench/index.vue';
|
||||
|
||||
export { DashboardAnalysis, DashboardWorkbench };
|
5
src/views/document/index.ts
Normal file
5
src/views/document/index.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import DocumentVue from './vue/index.vue';
|
||||
import DocumentVite from './vite/index.vue';
|
||||
import DocumentNaive from './naive/index.vue';
|
||||
|
||||
export { DocumentVue, DocumentVite, DocumentNaive };
|
8
src/views/index.ts
Normal file
8
src/views/index.ts
Normal file
@ -0,0 +1,8 @@
|
||||
export * from './system';
|
||||
export * from './dashboard';
|
||||
export * from './document';
|
||||
export * from './plugin';
|
||||
export * from './component';
|
||||
export * from './multi-menu';
|
||||
export * from './about';
|
||||
export * from './website';
|
3
src/views/multi-menu/index.ts
Normal file
3
src/views/multi-menu/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import MultiMenuFirstSecond from './first/second/index.vue';
|
||||
|
||||
export { MultiMenuFirstSecond };
|
19
src/views/plugin/index.ts
Normal file
19
src/views/plugin/index.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import PluginMap from './map/index.vue';
|
||||
import PluginVideo from './video/index.vue';
|
||||
import PluginEditorQuill from './editor/quill/index.vue';
|
||||
import PluginEditorMarkdown from './editor/markdown/index.vue';
|
||||
import PluginSwiper from './swiper/index.vue';
|
||||
import PluginCopy from './copy/index.vue';
|
||||
import PluginIcon from './icon/index.vue';
|
||||
import PluginPrint from './print/index.vue';
|
||||
|
||||
export {
|
||||
PluginMap,
|
||||
PluginVideo,
|
||||
PluginEditorQuill,
|
||||
PluginEditorMarkdown,
|
||||
PluginSwiper,
|
||||
PluginCopy,
|
||||
PluginIcon,
|
||||
PluginPrint
|
||||
};
|
6
src/views/system/index.ts
Normal file
6
src/views/system/index.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import Login from './login/index.vue';
|
||||
import NoPermission from './exception/403.vue';
|
||||
import NotFound from './exception/404.vue';
|
||||
import ServiceError from './exception/500.vue';
|
||||
|
||||
export { Login, NoPermission, NotFound, ServiceError };
|
3
src/views/website/index.ts
Normal file
3
src/views/website/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import Website from './index.vue';
|
||||
|
||||
export { Website };
|
Reference in New Issue
Block a user