Browse Source

Update example component to follow the vue.js style guide

Talv Bansal 7 years ago
parent
commit
814e0f22e0

+ 1 - 1
resources/assets/js/app.js

@@ -15,7 +15,7 @@ window.Vue = require('vue');
  * or customize the JavaScript scaffolding to fit your unique needs.
  * or customize the JavaScript scaffolding to fit your unique needs.
  */
  */
 
 
-Vue.component('example', require('./components/Example.vue'));
+Vue.component('example-component', require('./components/ExampleComponent.vue'));
 
 
 const app = new Vue({
 const app = new Vue({
     el: '#app'
     el: '#app'

+ 0 - 0
resources/assets/js/components/Example.vue → resources/assets/js/components/ExampleComponent.vue