summaryrefslogtreecommitdiff
path: root/resources/js/components
diff options
context:
space:
mode:
authorMarvin Borner2018-12-05 17:31:36 +0100
committerMarvin Borner2018-12-05 17:31:36 +0100
commit9d1a810fa983a045294e6d0b8ad761f5dbfb8939 (patch)
tree46c8796cd6747b3746478b4e3b8b29226f588ddb /resources/js/components
Initial commit (actually already finished)
Diffstat (limited to 'resources/js/components')
-rw-r--r--resources/js/components/ExampleComponent.vue23
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>