Added global app style (fonts/variables/scss)
This commit is contained in:
33
src/App.vue
33
src/App.vue
@@ -1,8 +1,31 @@
|
||||
<template>
|
||||
<div id="nav">
|
||||
<router-link to="/">Home</router-link> |
|
||||
<router-link to="/about">About</router-link>
|
||||
<router-link to="/profile">Profile</router-link>
|
||||
<div class="fs-wrapper">
|
||||
<navbar />
|
||||
<div class="fs-content">
|
||||
<router-view />
|
||||
</div>
|
||||
</div>
|
||||
<router-view />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from "vue";
|
||||
import Navbar from "@/components/Navbar.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
Navbar
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.fs-wrapper {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
.fs-content {
|
||||
padding: 70px 20px 20px;
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user