Add all categories

This commit is contained in:
khatabwedaa
2020-06-13 12:58:29 +02:00
parent 0a5b684c74
commit 3b18db736e
30 changed files with 1034 additions and 550 deletions

View File

@@ -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" },
],
});