UNPKG

@lidhium/cli

Version:

micro-frontend cli packed with webpack

17 lines (13 loc) 300 B
import { RouteRecordRaw, createRouter, createWebHistory } from "vue-router"; import Home from "@/components/Home.vue"; const router = createRouter({ history: createWebHistory(), routes: [ { path: "/", name: "home", component: Home, }, ], }); export default router;