Example.vue 563 B

1234567891011121314151617181920212223
  1. <template>
  2. <div class="container">
  3. <div class="row">
  4. <div class="col-md-8 col-md-offset-2">
  5. <div class="panel panel-default">
  6. <div class="panel-heading">Example Component</div>
  7. <div class="panel-body">
  8. I'm an example component!
  9. </div>
  10. </div>
  11. </div>
  12. </div>
  13. </div>
  14. </template>
  15. <script>
  16. export default {
  17. mounted() {
  18. console.log('Component mounted.')
  19. }
  20. }
  21. </script>