From 9038bfe5c381baf4b387270a29a8ccd5b58435a8 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Mon, 27 Jun 2022 04:40:27 +1000
Subject: In .vue files, move <template> sections to top

---
 src/components/SButton.vue | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

(limited to 'src/components/SButton.vue')

diff --git a/src/components/SButton.vue b/src/components/SButton.vue
index 4bb827d..a480c37 100644
--- a/src/components/SButton.vue
+++ b/src/components/SButton.vue
@@ -1,3 +1,11 @@
+<template>
+<button :disabled="disabled"
+	class="block rounded px-4 py-2"
+	:class="{'hover:brightness-125': !disabled, 'brightness-75': disabled}">
+	<slot>?</slot>
+</button>
+</template>
+
 <script lang="ts">
 import {defineComponent, PropType} from 'vue';
 
@@ -7,11 +15,3 @@ export default defineComponent({
 	},
 });
 </script>
-
-<template>
-<button :disabled="disabled"
-	class="block rounded px-4 py-2"
-	:class="{'hover:brightness-125': !disabled, 'brightness-75': disabled}">
-	<slot>?</slot>
-</button>
-</template>
-- 
cgit v1.2.3

