og-image/src/router.js
Simon Vieille 621c07eb7f
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
add option to show/hide the author block
add option to set the size of the author name and images

rename HomePage with OgImageGeneratorPage
2024-04-18 20:16:20 +02:00

30 lines
566 B
JavaScript

import { createRouter, createWebHashHistory } from 'vue-router'
import OgImageGeneratorPage from './page/OgImageGeneratorPage.vue'
import AboutPage from './page/AboutPage.vue'
const routes = [
{
path: '/',
name: 'og-generator',
component: OgImageGeneratorPage,
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;