diff options
Diffstat (limited to 'packages/client/src/components/HomeHeader.vue')
-rw-r--r-- | packages/client/src/components/HomeHeader.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/client/src/components/HomeHeader.vue b/packages/client/src/components/HomeHeader.vue index b108b9b..74e90f9 100644 --- a/packages/client/src/components/HomeHeader.vue +++ b/packages/client/src/components/HomeHeader.vue @@ -7,10 +7,10 @@ </div> </template> -<script> -import { ref } from "vue"; +<script lang="ts"> +import { defineComponent, ref } from "vue"; -export default { +export default defineComponent({ name: "HomeHeader", setup() { const title = ref(""); @@ -28,7 +28,7 @@ export default { mounted() { this.fetchInfo(); } -}; +}); </script> <style lang="scss" scoped> |