Convert Section.vue to composition api
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
<script>
|
||||
<script setup>
|
||||
|
||||
export default {
|
||||
name: 'Section',
|
||||
props: {
|
||||
title: String,
|
||||
padding: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
}
|
||||
}
|
||||
};
|
||||
defineProps({
|
||||
title: String,
|
||||
padding: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
@@ -26,7 +23,6 @@ export default {
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
.section {
|
||||
|
||||
Reference in New Issue
Block a user