mirror of
https://github.com/bakateam/merakiui.git
synced 2025-12-10 15:35:34 +00:00
Add all categories
This commit is contained in:
@@ -1,21 +1,24 @@
|
||||
import VueRouter from "vue-router";
|
||||
|
||||
const Alerts = () =>
|
||||
import("./components/categories/Alerts");
|
||||
|
||||
const Cards = () =>
|
||||
import("./components/categories/Cards");
|
||||
|
||||
const Forms = () =>
|
||||
import("./components/categories/Forms");
|
||||
|
||||
const Alerts = () => import("./components/categories/Alerts");
|
||||
const Cards = () => import("./components/categories/Cards");
|
||||
const Forms = () => import("./components/categories/Forms");
|
||||
const Navbars = () => import("./components/categories/Navbars");
|
||||
const Headers = () => import("./components/categories/Headers");
|
||||
const Sections = () => import("./components/categories/Sections");
|
||||
const Paginations = () => import("./components/categories/Paginations");
|
||||
const Footers = () => import("./components/categories/Footers");
|
||||
|
||||
export default new VueRouter({
|
||||
mode: 'history',
|
||||
routes: [
|
||||
// { path: '/', redirect: '/alerts' },
|
||||
{ path: "/alerts", component: Alerts, name: "Alerts" },
|
||||
{ path: "/cards", component: Cards, name: "Cards" },
|
||||
{ path: "/forms", component: Forms, name: "Forms" },
|
||||
{ path: "/navbars", component: Navbars, name: "Navbars" },
|
||||
{ path: "/headers", component: Headers, name: "Headers" },
|
||||
{ path: "/sections", component: Sections, name: "Sections" },
|
||||
{ path: "/paginations", component: Paginations, name: "Paginations" },
|
||||
{ path: "/footers", component: Footers, name: "Footers" },
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user