style: 组件命名规范
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 939 B After Width: | Height: | Size: 939 B |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 796 B After Width: | Height: | Size: 796 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
8
src/components.d.ts
vendored
@ -7,12 +7,10 @@ export {}
|
|||||||
|
|
||||||
declare module 'vue' {
|
declare module 'vue' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
MainTransition: typeof import('./components/MainTransition/index.vue')['default']
|
MainTransition: typeof import('./components/main-transition/index.vue')['default']
|
||||||
MyTransition: typeof import('./components/MyTransition/index.vue')['default']
|
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
RouterView: typeof import('vue-router')['RouterView']
|
RouterView: typeof import('vue-router')['RouterView']
|
||||||
SvgIcon: typeof import('./components/SvgIcon/index.vue')['default']
|
SvgIcon: typeof import('./components/svg-icon/index.vue')['default']
|
||||||
Transition: typeof import('./components/Transition/index.vue')['default']
|
VerifyCode: typeof import('./components/verify-code/index.vue')['default']
|
||||||
VerifyCode: typeof import('./components/VerifyCode/index.vue')['default']
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -98,8 +98,8 @@
|
|||||||
</a-layout-header>
|
</a-layout-header>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Notice from "@/layout/components/Header/components/Notice/index.vue";
|
import Notice from "@/layout/components/Header/components/notice/index.vue";
|
||||||
import Breadcrumb from "@/layout/components/Header/components/Breadcrumb/index.vue";
|
import Breadcrumb from "@/layout/components/Header/components/breadcrumb/index.vue";
|
||||||
import myImage from "@/assets/img/my-image.jpg";
|
import myImage from "@/assets/img/my-image.jpg";
|
||||||
import pinia from "@/store/index";
|
import pinia from "@/store/index";
|
||||||
import { Modal } from "@arco-design/web-vue";
|
import { Modal } from "@arco-design/web-vue";
|
||||||
|
|||||||
@ -31,7 +31,7 @@ export default defineConfig(({ mode }) => {
|
|||||||
}),
|
}),
|
||||||
createSvgIconsPlugin({
|
createSvgIconsPlugin({
|
||||||
// 配置src下存放svg的路径,这里表示在src/icons文件夹下
|
// 配置src下存放svg的路径,这里表示在src/icons文件夹下
|
||||||
iconDirs: [path.resolve(process.cwd(), "src/icons")],
|
iconDirs: [path.resolve(process.cwd(), "src/assets/icons")],
|
||||||
symbolId: "icon-[dir]-[name]"
|
symbolId: "icon-[dir]-[name]"
|
||||||
}),
|
}),
|
||||||
AutoImport({
|
AutoImport({
|
||||||
|
|||||||