diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-12 11:37:07 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-12 11:37:07 +0200 |
commit | 64c80504b5d14a179508bd764e107741a80e8be6 (patch) | |
tree | 38bd3310d20656cf5acded01a24f32e4f42bed2a /src/App.vue | |
parent | a76e153bf1390237ab75969f40df3abfe6da0a75 (diff) | |
download | puszcza-64c80504b5d14a179508bd764e107741a80e8be6.tar.gz puszcza-64c80504b5d14a179508bd764e107741a80e8be6.zip |
Add router
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/App.vue b/src/App.vue index ac76592..b9c4497 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,15 +1,20 @@ <template> <div id="app"> - <h1>19 PDH Puszcza</h1> - <img alt="Work in progress" src="./assets/wip.png" /> - <h3>Strona w trakcie budowy</h3> + <nav> + <NavLink link="/" name="Home"></NavLink> + <NavLink link="/gallery" name="Galeria"></NavLink> + <NavLink link="/download" name="Do pobrania"></NavLink> + </nav> + <router-view></router-view> </div> </template> <script> +import NavLink from "./components/NavLink"; + export default { name: "app", - components: {} + components: { NavLink } }; </script> |