lint/test/linters/vue_prettier/vue_prettier_good_01.vue

24 lines
286 B
Vue
Raw Permalink Normal View History

<template>
<div class="example">{{ msg }}</div>
</template>
<script>
export default {
data() {
return {
msg: "Hello world!",
};
},
};
</script>
<style>
.example {
color: red;
}
</style>
<custom1>
This could be e.g. documentation for the component.
</custom1>