feature login
This commit is contained in:
22
src/components/Navbar.vue
Normal file
22
src/components/Navbar.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<nav class="bg-neutral">
|
||||
<div class="mx-auto px-8 w-full h-12">
|
||||
<div class="flex justify-between items-center py-2 h-full" v-show="showNavbarBreadcrumb">
|
||||
files
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
showNavbarBreadcrumb: false,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.showNavbarBreadcrumb = this.$route.matched[0].name !== ('AuthContainer')? true : false;
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user