Eshop-Laravel/resources/assets/js/components/ExampleComponent.vue

24 lines
563 B
Vue
Raw Permalink Normal View History

2019-10-18 09:25:37 +00:00
<template>
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Example Component</div>
<div class="panel-body">
I'm an example component!
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
mounted() {
console.log('Component mounted.')
}
}
</script>