ExampleComponent.vue 552 B

123456789101112131415161718192021222324
  1. <template>
  2. <div class="container">
  3. <div class="row justify-content-center">
  4. <div class="col-md-8">
  5. <div class="card">
  6. <div class="card-header">Example Component</div>
  7. <div class="card-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>