[Vuejs]-Vue Element not being rendered
0👍 No need to register your component twice. Remove components section and simply add Vue.component before the instance. Like this Try this app.js Vue.component(‘example’, require(‘./components/Example.vue’)); Vue.component(‘navigation’, require (‘./views/navigation.vue’)); const app = new Vue({ el: ‘#app’ }); views/navigation.vue <template> <nav class=”navbar navbar-inverse navbar-fixed-top”> <div class=”container”> <div class=”navbar-header”> <button type=”button” class=”navbar-toggle collapsed” data-toggle=”collapse” data-target=”#navbar” aria-expanded=”false” aria-controls=”navbar” > … Read more