summaryrefslogtreecommitdiff
path: root/master/src/App.vue
diff options
context:
space:
mode:
Diffstat (limited to 'master/src/App.vue')
-rw-r--r--master/src/App.vue30
1 files changed, 30 insertions, 0 deletions
diff --git a/master/src/App.vue b/master/src/App.vue
new file mode 100644
index 0000000..ec98c47
--- /dev/null
+++ b/master/src/App.vue
@@ -0,0 +1,30 @@
+<template>
+ <nav>
+ <router-link to="/">Home</router-link> |
+ <router-link to="/about">About</router-link>
+ </nav>
+ <router-view/>
+</template>
+
+<style lang="scss">
+#app {
+ font-family: Avenir, Helvetica, Arial, sans-serif;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ text-align: center;
+ color: #2c3e50;
+}
+
+nav {
+ padding: 30px;
+
+ a {
+ font-weight: bold;
+ color: #2c3e50;
+
+ &.router-link-exact-active {
+ color: #42b983;
+ }
+ }
+}
+</style>