og-image/src/router.js
Simon Vieille ebc9cdb52a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
cleanup
2023-02-26 18:16:11 +01:00

30 lines
522 B
JavaScript

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