Created
January 24, 2018 17:32
-
-
Save matthieu-D/8fe920caf09acd3ca7aa8a64add42a2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import ComponentWithMethods from './component-with-methods/component-with-methods.vue' | |
import SimpleTsComponent from './simple-ts-component' | |
Vue.component('global-component', { | |
template: '<div> Hi I am a global component </div>' | |
}); | |
var app = new Vue({ | |
el: '#app', | |
components: { SimpleTsComponent, ComponentWithMethods } | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment