[Vuejs]-How to integrate my Bootstrap Template to vue.js

0👍

If your About and Contact routes are children of the AppContainer you need to place a <router-view></router-view> in your AppContainer

Like this AppContainer.vue

<template>
    <div class="full">
        <h1> Container </h1>
        <Navigation> </Navigation>

        <router-view></router-view>

   </div>
</template>

<script>
    import Navigation from '@/components/Navigation'

    export default {
        name: 'full',
        components: {
            Navigation,

        },
        data () {
            return {
            nav: Navigation.items
            }
        },
        computed: {
            name () {
            return this.$route.name
            },
            list () {
            return this.$route.matched
            }
        }
}
</script>

Leave a comment