From 5e219868b0d5eb59459cee66810dc323c836b503 Mon Sep 17 00:00:00 2001
From: Pitu <heyitspitu@gmail.com>
Date: Tue, 5 Jan 2021 01:27:39 +0900
Subject: Add meta name to pages

---
 src/site/pages/register.vue | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'src/site/pages/register.vue')

diff --git a/src/site/pages/register.vue b/src/site/pages/register.vue
index 5cffc54..90ffb4b 100644
--- a/src/site/pages/register.vue
+++ b/src/site/pages/register.vue
@@ -78,9 +78,6 @@ export default {
 		};
 	},
 	computed: mapState(['config', 'auth']),
-	metaInfo() {
-		return { title: 'Register' };
-	},
 	methods: {
 		async register() {
 			if (this.isLoading) return;
@@ -110,6 +107,11 @@ export default {
 				this.isLoading = false;
 			}
 		}
+	},
+	head() {
+		return {
+			title: 'Register'
+		};
 	}
 };
 </script>
-- 
cgit v1.2.3

