This commit is contained in:
José Conde
2023-06-14 20:26:42 +02:00
parent cc458a43db
commit 8dcc575699
17 changed files with 527 additions and 26 deletions

View File

@ -3,22 +3,56 @@ import { createRouter, createWebHashHistory } from "vue-router";
import HomeView from '../views/home/Home.vue';
import AboutView from '../views/about/About.vue';
import ProductsView from '../views/products/Products.vue';
import SocialView from '../views/social/Social.vue';
import ContactView from '../views/contact/Contact.vue';
import ImpressumView from '../views/impressum/Impressum.vue';
import DataProtectionView from '../views/dataprotection/DataProtection.vue';
import AgbView from '../views/agb/Agb.vue';
const router = createRouter({
history: createWebHashHistory(),
routes: [{
path: '/',
name: 'home',
component: HomeView,
}, {
path: '/about',
name: 'about',
component: AboutView,
}, {
path: '/products',
name: 'products',
component: ProductsView,
}]
routes: [
{
path: '/',
name: 'home',
component: HomeView,
},
{
path: '/about',
name: 'about',
component: AboutView,
},
{
path: '/products',
name: 'products',
component: ProductsView,
},
{
path: '/social',
name: 'social',
component: SocialView,
},
{
path: '/contact',
name: 'contact',
component: ContactView,
},
{
path: '/impressum',
name: 'impressum',
component: ImpressumView,
},
{
path: '/dataprotection',
name: 'dataprotection',
component: DataProtectionView,
},
{
path: '/agb',
name: 'agb',
component: AgbView,
},
]
});
export default router;