og-image/src/router.js
Simon Vieille ee1fc02a16
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
update router conf
2023-02-24 22:18:05 +01:00

32 lines
516 B
JavaScript

import { createRouter, createWebHashHistory } from 'vue-router'
import Home from './page/Home.vue'
import About from './page/About.vue'
// const APP_BASE_URL = '/'
const routes = [
{
path: '/',
name: 'home',
component: Home,
meta: {
title: 'Generator - OG:IMAGE'
}
},
{
path: '/about',
name: 'About',
component: About,
meta: {
title: 'About'
}
},
];
const router = createRouter({
history: createWebHashHistory(),
routes,
});
export default router;