mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 02:48:11 +08:00
Switch Vue components from class to object syntax
This commit is contained in:
@@ -44,18 +44,14 @@
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import { Options, Vue } from "vue-class-component";
|
||||
import LayoutRow from "../layout/LayoutRow.vue";
|
||||
import LayoutCol from "../layout/LayoutCol.vue";
|
||||
import { defineComponent } from "vue";
|
||||
import InputHint from "./InputHint.vue";
|
||||
|
||||
@Options({
|
||||
export default defineComponent({
|
||||
name: "FooterBar",
|
||||
components: {
|
||||
LayoutRow,
|
||||
LayoutCol,
|
||||
InputHint,
|
||||
},
|
||||
props: {},
|
||||
})
|
||||
export default class FooterBar extends Vue {}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user