diff --git a/src/App.vue b/src/App.vue
index d76027938..7f2b7299e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -3,6 +3,7 @@
diff --git a/src/hooks/useDashboardVersion.ts b/src/hooks/useDashboardVersion.ts
new file mode 100644
index 000000000..c25614417
--- /dev/null
+++ b/src/hooks/useDashboardVersion.ts
@@ -0,0 +1,26 @@
+import axios from 'axios'
+
+export default (): {
+ printVersion: () => Promise
+} => {
+ const versionReg = /refs\/tags\/(.+)/
+ const printVersion = async () => {
+ try {
+ const { data: versionContent } = await axios({
+ method: 'get',
+ url: 'version',
+ baseURL: '',
+ })
+ debugger
+ const version = versionContent.match(versionReg)?.[1]
+ if (version) {
+ console.log('🔎 Dashboard Version:', version)
+ }
+ } catch (error) {
+ //
+ }
+ }
+ return {
+ printVersion,
+ }
+}