From 5e19715d8baa003ad1e729f28cd6221448b87b9e Mon Sep 17 00:00:00 2001 From: Guillaume Briday Date: Fri, 5 Jan 2018 01:38:53 +0100 Subject: [PATCH 01/12] Adding Navbar component --- src/js/bootstrap.js | 2 ++ src/js/components/App.vue | 2 +- src/js/components/Navbar.vue | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 src/js/components/Navbar.vue diff --git a/src/js/bootstrap.js b/src/js/bootstrap.js index fbb72f0..121b5d3 100644 --- a/src/js/bootstrap.js +++ b/src/js/bootstrap.js @@ -1,11 +1,13 @@ import Vue from 'vue' import VueRouter from 'vue-router' import axios from 'axios' +import Navbar from './components/Navbar' window.Vue = Vue Vue.config.productionTip = false Vue.use(VueRouter) +Vue.component('Navbar', Navbar) window.axios = axios diff --git a/src/js/components/App.vue b/src/js/components/App.vue index e0a364b..a8b66ed 100644 --- a/src/js/components/App.vue +++ b/src/js/components/App.vue @@ -1,6 +1,6 @@