diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-30 10:08:13 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-30 10:08:13 +0200 |
commit | 768b047e89f419deca3ddd00af7cb75209de97b6 (patch) | |
tree | 2e94259cc97a4370897278b6845ce5a7ddf31629 /src/router | |
parent | cef8ab49453e4ce8a2e19de4e27862b059f7d9d9 (diff) | |
download | puszcza-768b047e89f419deca3ddd00af7cb75209de97b6.tar.gz puszcza-768b047e89f419deca3ddd00af7cb75209de97b6.zip |
Move to nuxtjs
Diffstat (limited to 'src/router')
-rw-r--r-- | src/router/index.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/router/index.js b/src/router/index.js deleted file mode 100644 index 336bd2e..0000000 --- a/src/router/index.js +++ /dev/null @@ -1,27 +0,0 @@ -import VueRouter from 'vue-router'; - -import HomeView from '../views/HomeView'; -import AboutView from '../views/AboutView'; -import ContactView from '../views/ContactView'; -import DownloadView from '../views/DownloadView'; -import PageNotFoundView from '../views/PageNotFoundView'; - -export const routes = [ - { path: '/', name: 'Home', component: HomeView }, - { path: '/o-nas', name: 'O nas', component: AboutView }, - { path: '/download', name: 'Do pobrania', component: DownloadView }, - { path: '/kontakt', name: 'Kontakt', component: ContactView } -]; - -export const externalRoutes = [ - { - path: 'https://kronika-puszcza.netlify.com', - name: 'Kronika' - }, - { path: 'https://kronika-puszcza.netlify.com/galeria', name: 'Galeria' } -]; - -export const router = new VueRouter({ - mode: 'history', - routes: [...routes, { path: '*', component: PageNotFoundView }] -}); |