New Design, Route added
Changes: - Clicking on Home (icon and text) and Logo now routes to “/”, i.e. to the main page - New design is now complete
This commit is contained in:
@@ -5,6 +5,7 @@ import { createRouter, createWebHistory } from "vue-router";
|
||||
// at these URL's.
|
||||
import Home from "../components/Home.vue";
|
||||
import Login from "../components/Login.vue";
|
||||
import wip from "../components/wip.vue";
|
||||
|
||||
// The routing does not happen automatically
|
||||
// Each route has to be defined here, or it wont work.
|
||||
@@ -18,7 +19,12 @@ const routes = [
|
||||
path: "/login",
|
||||
name: "login",
|
||||
component: Login,
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/wip",
|
||||
name: "Work in Progress",
|
||||
component: wip,
|
||||
},
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
Reference in New Issue
Block a user