Make DrupalMessage a global component

This commit is contained in:
Oliver Davies 2018-12-28 01:28:59 +00:00
parent 0e6f149ef8
commit 96e03b08f8
2 changed files with 4 additions and 2 deletions

View file

@ -81,13 +81,11 @@
</template>
<script>
import DrupalMessage from './DrupalMessage.vue';
import MainMenu from './MainMenu.vue';
import SidebarBlock from './SidebarBlock.vue'
export default {
components: {
DrupalMessage,
MainMenu,
SidebarBlock,
},

View file

@ -3,6 +3,10 @@ import App from './App.vue'
Vue.config.productionTip = false
import DrupalMessage from '@/components/DrupalMessage.vue'
Vue.component('DrupalMessage', DrupalMessage)
new Vue({
render: h => h(App),
}).$mount('#app')