mirror of https://github.com/halo-dev/halo-admin
parent
21c1a0da8e
commit
d990c01432
|
@ -2,5 +2,11 @@
|
||||||
import IconDashboard from "~icons/ri/dashboard-3-line";
|
import IconDashboard from "~icons/ri/dashboard-3-line";
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import IconArrowRight from "~icons/ri/arrow-right-s-line";
|
import IconArrowRight from "~icons/ri/arrow-right-s-line";
|
||||||
|
// @ts-ignore
|
||||||
|
import IconBookRead from "~icons/ri/book-read-line";
|
||||||
|
// @ts-ignore
|
||||||
|
import IconPages from "~icons/ri/pages-line";
|
||||||
|
// @ts-ignore
|
||||||
|
import IconMessage from "~icons/ri/message-3-line";
|
||||||
|
|
||||||
export { IconDashboard, IconArrowRight };
|
export { IconDashboard, IconArrowRight, IconBookRead, IconPages, IconMessage };
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
import { IconDashboard } from "@/core/icons";
|
import {
|
||||||
|
IconDashboard,
|
||||||
|
IconBookRead,
|
||||||
|
IconPages,
|
||||||
|
IconMessage,
|
||||||
|
} from "@/core/icons";
|
||||||
import type { Component } from "vue";
|
import type { Component } from "vue";
|
||||||
|
|
||||||
declare interface MenuGroupType {
|
declare interface MenuGroupType {
|
||||||
|
@ -30,17 +35,17 @@ export const menus: MenuGroupType[] = [
|
||||||
{
|
{
|
||||||
name: "文章",
|
name: "文章",
|
||||||
path: "/posts",
|
path: "/posts",
|
||||||
icon: IconDashboard,
|
icon: IconBookRead,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "页面",
|
name: "页面",
|
||||||
path: "/sheets",
|
path: "/sheets",
|
||||||
icon: IconDashboard,
|
icon: IconPages,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "评论",
|
name: "评论",
|
||||||
path: "/comment",
|
path: "/comment",
|
||||||
icon: IconDashboard,
|
icon: IconMessage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "附件",
|
name: "附件",
|
||||||
|
|
Loading…
Reference in New Issue