diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-01 19:42:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 19:42:19 +0200 |
commit | 11b4d4779d7c955f99ababa5b7abe9281912de08 (patch) | |
tree | be6289a6c5972312584cc315425171b828c8bf58 /src/router/index.js | |
parent | 89837b8756590bd97b82450c6a445702f7ab5077 (diff) | |
parent | 89a60dbbbadee2fbccddddc47e92aaf8dce6525a (diff) | |
download | puszcza-11b4d4779d7c955f99ababa5b7abe9281912de08.tar.gz puszcza-11b4d4779d7c955f99ababa5b7abe9281912de08.zip |
Merge pull request #2 from 19pdh/develop
Merge from develop
Diffstat (limited to 'src/router/index.js')
-rw-r--r-- | src/router/index.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/router/index.js b/src/router/index.js deleted file mode 100644 index 532747a..0000000 --- a/src/router/index.js +++ /dev/null @@ -1,25 +0,0 @@ -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"; - -export const routes = [ - { path: "/", name: "Home", component: HomeView }, - { path: "/o-nas", name: "O nas" }, - { path: "/download", name: "Do pobrania", component: DownloadView } -]; - -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 }] -}); |