refactor(vue): 重构代码,采用setup语法

This commit is contained in:
BTMuli
2023-03-09 16:19:26 +08:00
parent 817ccaf18a
commit 5bf45c6080
8 changed files with 455 additions and 564 deletions

View File

@@ -2,12 +2,6 @@
<h1>首页</h1>
</template>
<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
name: "Home",
});
</script>
<script lang="ts" setup></script>
<style lang="css"></style>