Browse Source

Use mounted instead of ready

Erik Telford 8 years ago
parent
commit
e0573e67e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/assets/js/components/Example.vue

+ 1 - 1
resources/assets/js/components/Example.vue

@@ -16,7 +16,7 @@
 
 <script>
     export default {
-        ready() {
+        mounted() {
             console.log('Component ready.')
         }
     }