diff options
Diffstat (limited to 'resources/js/components/ExampleComponent.vue')
-rw-r--r-- | resources/js/components/ExampleComponent.vue | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/resources/js/components/ExampleComponent.vue b/resources/js/components/ExampleComponent.vue new file mode 100644 index 0000000..2805329 --- /dev/null +++ b/resources/js/components/ExampleComponent.vue @@ -0,0 +1,23 @@ +<template> + <div class="container"> + <div class="row justify-content-center"> + <div class="col-md-8"> + <div class="card card-default"> + <div class="card-header">Example Component</div> + + <div class="card-body"> + I'm an example component. + </div> + </div> + </div> + </div> + </div> +</template> + +<script> + export default { + mounted() { + console.log('Component mounted.') + } + } +</script> |