diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-28 22:34:06 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-28 22:34:06 +0200 |
commit | af06d79ac92460ae1a924a7e1d72f5c376c61663 (patch) | |
tree | 6b27f0ca99d682414b0fbbd64c125c01906eaba6 /src/router | |
parent | 8dfa61884580a5966c0b48f5ce5dc16828f489c4 (diff) | |
download | puszcza-af06d79ac92460ae1a924a7e1d72f5c376c61663.tar.gz puszcza-af06d79ac92460ae1a924a7e1d72f5c376c61663.zip |
Add footer
Diffstat (limited to 'src/router')
-rw-r--r-- | src/router/index.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/router/index.js b/src/router/index.js index 532747a..e70642d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,25 +1,25 @@ -import VueRouter from "vue-router"; +import VueRouter from 'vue-router'; -import HomeView from "../views/HomeView"; -import GalleryView from "../views/GalleryView"; -import DownloadView from "../views/DownloadView"; -import PageNotFoundView from "../views/PageNotFoundView"; +import HomeView from '../views/HomeView'; +import AboutView from '../views/AboutView'; +import DownloadView from '../views/DownloadView'; +import PageNotFoundView from '../views/PageNotFoundView'; export const routes = [ - { path: "/", name: "Home", component: HomeView }, - { path: "/o-nas", name: "O nas" }, - { path: "/download", name: "Do pobrania", component: DownloadView } + { path: '/', name: 'Home', component: HomeView }, + { path: '/o-nas', name: 'O nas', component: AboutView }, + { path: '/download', name: 'Do pobrania', component: DownloadView } ]; export const externalRoutes = [ { - path: "https://kronika-puszcza.netlify.com", - name: "Kronika" + path: 'https://kronika-puszcza.netlify.com', + name: 'Kronika' }, - { path: "https://kronika-puszcza.netlify.com/galeria", name: "Galeria" } + { path: 'https://kronika-puszcza.netlify.com/galeria', name: 'Galeria' } ]; export const router = new VueRouter({ - mode: "history", - routes: [...routes, { path: "*", component: PageNotFoundView }] + mode: 'history', + routes: [...routes, { path: '*', component: PageNotFoundView }] }); |