aboutsummaryrefslogtreecommitdiff
path: root/packages/client/src/components/RepositoryNavbar.vue
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-06 13:07:07 +0200
committerHampusM <hampus@hampusmat.com>2021-07-06 13:07:07 +0200
commit39c38c737114dc7f946b1895b2a4ba27a5546c60 (patch)
tree61344a90155845d08c4811da16e6f90504da2625 /packages/client/src/components/RepositoryNavbar.vue
parent4102adab527ccc4f6d8ac210118dea21177c212d (diff)
Migrated frontend to typescript
Diffstat (limited to 'packages/client/src/components/RepositoryNavbar.vue')
-rw-r--r--packages/client/src/components/RepositoryNavbar.vue10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/client/src/components/RepositoryNavbar.vue b/packages/client/src/components/RepositoryNavbar.vue
index 08fa179..ca8e92d 100644
--- a/packages/client/src/components/RepositoryNavbar.vue
+++ b/packages/client/src/components/RepositoryNavbar.vue
@@ -22,10 +22,12 @@
</div>
</template>
-<script>
-import RepositoryCloneDropdown from "@/components/RepositoryCloneDropdown";
+<script lang="ts">
+import { defineComponent } from "vue";
-export default {
+import RepositoryCloneDropdown from "../components/RepositoryCloneDropdown.vue";
+
+export default defineComponent({
name: "RepositoryNavbar",
props: {
repository: {
@@ -54,7 +56,7 @@ export default {
this.nav_items = [ "about" ].concat(this.nav_items);
}
}
-};
+});
</script>
<style lang="scss" scoped>