foundations and home

This commit is contained in:
José Conde
2023-06-11 14:34:05 +02:00
parent 8069c4a5be
commit 8b1cafca1c
48 changed files with 1251 additions and 117 deletions

24
src/router/router.js Normal file
View File

@ -0,0 +1,24 @@
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';
const router = createRouter({
history: createWebHashHistory(),
routes: [{
path: '/',
name: 'home',
component: HomeView,
}, {
path: '/about',
name: 'about',
component: AboutView,
}, {
path: '/products',
name: 'products',
component: ProductsView,
}]
});
export default router;