refactor(frontend): use composition api

This commit is contained in:
syuilo
2023-05-14 11:43:56 +09:00
parent 238d0fa667
commit 3d4a90b08a
7 changed files with 125 additions and 381 deletions

View File

@@ -23,22 +23,13 @@
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
<script lang="ts" setup>
import { } from 'vue';
export default defineComponent({
props: {
def: {
type: Array,
required: true,
},
grid: {
type: Boolean,
required: false,
default: false,
},
},
});
defineProps<{
def: any[];
grid?: boolean;
}>();
</script>
<style lang="scss" scoped>