Switch Vue components from class to object syntax

This commit is contained in:
Keavon Chambers
2021-02-16 16:06:58 -08:00
parent d3ff538c4c
commit f179bcf30f
12 changed files with 51 additions and 73 deletions
+4 -4
View File
@@ -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">