mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 06:58:11 +08:00
Switch Vue components from class to object syntax
This commit is contained in:
@@ -3,15 +3,15 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Options, Vue } from "vue-class-component";
|
||||
import { defineComponent } from "vue";
|
||||
import MainWindow from "./components/window/MainWindow.vue";
|
||||
|
||||
@Options({
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
components: {
|
||||
MainWindow,
|
||||
},
|
||||
})
|
||||
export default class App extends Vue {}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user