-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
41 lines (36 loc) · 975 Bytes
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<template>
<div>
<div>
<b-navbar class="navbar-dark" toggleable="md" variant="primary">
<b-navbar-brand to="/">
{{ $config.public.appTitle }}<br />
<span class="tagline">{{ $config.public.appTagline }}</span>
</b-navbar-brand>
<b-navbar-toggle target="nav-collapse"></b-navbar-toggle>
<b-collapse id="nav-collapse" is-nav>
<b-navbar-nav class="ms-auto">
<b-nav-item v-for="item in navItems" :key="item.path" :to="item.path">
{{ item.title }}
</b-nav-item>
</b-navbar-nav>
</b-collapse>
</b-navbar>
</div>
<NuxtPage />
</div>
</template>
<script>
export default {
computed: {
navItems() {
return selectNavItems(this.$config.public.enabledNavItems)
},
},
}
</script>
<style lang="scss">
@import './assets/scss/main.scss';
</style>
<style lang="scss" scoped>
@import './assets/scss/app-scoped.scss';
</style>