add default page layout with header

Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
This commit is contained in:
RcleydsonR
2022-11-21 16:02:01 -03:00
parent 328bb9ad62
commit 35a92b2ca8
21 changed files with 231 additions and 546 deletions

View File

@@ -1,5 +1,6 @@
import { createRouter, createWebHistory } from "vue-router";
import HomeView from "../views/HomeView.vue";
import QrCodeFormVue from "../views/QrCodeForm.vue";
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -9,18 +10,10 @@ const router = createRouter({
name: "home",
component: HomeView,
},
{
path: "/ethers",
name: "ethers",
// 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("../views/EthersView.vue"),
},
{
path: "/pix",
name: "pix",
component: () => import("../views/QrCodeForm.vue"),
component: QrCodeFormVue,
},
],
});