diff options
author | HampusM <hampus@hampusmat.com> | 2021-07-06 13:07:07 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-07-06 13:07:07 +0200 |
commit | 39c38c737114dc7f946b1895b2a4ba27a5546c60 (patch) | |
tree | 61344a90155845d08c4811da16e6f90504da2625 /packages/client/src/components/BaseBackButton.vue | |
parent | 4102adab527ccc4f6d8ac210118dea21177c212d (diff) |
Migrated frontend to typescript
Diffstat (limited to 'packages/client/src/components/BaseBackButton.vue')
-rw-r--r-- | packages/client/src/components/BaseBackButton.vue | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/client/src/components/BaseBackButton.vue b/packages/client/src/components/BaseBackButton.vue index 2de0c77..3139a6c 100644 --- a/packages/client/src/components/BaseBackButton.vue +++ b/packages/client/src/components/BaseBackButton.vue @@ -12,8 +12,10 @@ </div> </template> -<script> -export default { +<script lang="ts"> +import { defineComponent } from "vue"; + +export default defineComponent({ name: "BaseBackButton", props: { to: { @@ -21,7 +23,7 @@ export default { required: true } } -}; +}); </script> <style lang="scss" scoped> |