Follow upstream recommendation to have html templates below script in .vue files
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'Section',
|
||||
props: {
|
||||
title: String,
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="section-header">
|
||||
@@ -11,16 +22,6 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'Section',
|
||||
props: {
|
||||
title: String,
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user