Add navbar component
This commit is contained in:
parent
dbea420db5
commit
08edea3c50
2 changed files with 59 additions and 1 deletions
|
|
@ -1,14 +1,19 @@
|
|||
<template>
|
||||
<div id="app" class="text-black">
|
||||
{{ title }}
|
||||
<navbar :name="title" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Navbar from '@/components/navbar'
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
|
||||
components: {
|
||||
Navbar
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
title: 'Bristol JS'
|
||||
|
|
|
|||
Reference in a new issue