Move JS script to the top of each Vue file

This commit is contained in:
Keavon Chambers
2023-03-10 03:44:49 -08:00
parent 1c50f0030c
commit 2327524690
50 changed files with 3482 additions and 3517 deletions
+18 -18
View File
@@ -1,21 +1,3 @@
<template>
<LayoutCol class="main-window">
<TitleBar :platform="platform" :maximized="maximized" />
<Workspace />
<StatusBar />
</LayoutCol>
</template>
<style lang="scss">
.main-window {
height: 100%;
overflow: auto;
touch-action: none;
}
</style>
<script lang="ts">
import { defineComponent } from "vue";
@@ -41,3 +23,21 @@ export default defineComponent({
},
});
</script>
<template>
<LayoutCol class="main-window">
<TitleBar :platform="platform" :maximized="maximized" />
<Workspace />
<StatusBar />
</LayoutCol>
</template>
<style lang="scss">
.main-window {
height: 100%;
overflow: auto;
touch-action: none;
}
</style>