diff --git a/components.d.ts b/components.d.ts index 5bae1b2..b488569 100644 --- a/components.d.ts +++ b/components.d.ts @@ -30,6 +30,8 @@ declare module '@vue/runtime-core' { ElOption: typeof import('element-plus/es')['ElOption'] ElRow: typeof import('element-plus/es')['ElRow'] ElSelect: typeof import('element-plus/es')['ElSelect'] + ElTable: typeof import('element-plus/es')['ElTable'] + ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] ElTag: typeof import('element-plus/es')['ElTag'] diff --git a/src/components/createBlog.vue b/src/components/createBlog.vue index baeee0b..fe97d08 100644 --- a/src/components/createBlog.vue +++ b/src/components/createBlog.vue @@ -6,7 +6,7 @@ :close-on-click-modal="false" :close-on-press-escape="false" :lock-scroll="true" - :modal-append-to-body="false" + :append-to-body="false" > diff --git a/src/pages/media/index.vue b/src/pages/media/index.vue new file mode 100644 index 0000000..aed2690 --- /dev/null +++ b/src/pages/media/index.vue @@ -0,0 +1,91 @@ + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index 8f77340..348bc2f 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,6 +1,8 @@ import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router"; import Home from "@/pages/home/Home.vue"; import Staging from "@/pages/staging/index.vue"; +import Media from "@/pages/media/index.vue"; + const routes: Array = [ { path: "/", @@ -18,15 +20,11 @@ const routes: Array = [ component: Staging, props: true, }, - // { - // path: "/about", - // name: "about", - // // route level code-splitting - // // this generates a separate chunk (about.[hash].js) for this route - // // which is lazy-loaded when the route is visited. - // component: () => - // import(/* webpackChunkName: "about" */ "../views/AboutView.vue"), - // }, + { + path: "/media", + name: "Media", + component: Media, + }, { path: "/:pathMatch(.*)*", name: "NotFound",