배포 bundle과 같은 commit의 정적 버전 문서를 생성하고, 열린 탭이 DB mutation 없이 변경을 감지하도록 한다. 동일 버전은 tab session에서 한 번만 안내하며 강제 새로고침은 하지 않는다.
17 lines
400 B
Vue
17 lines
400 B
Vue
<script setup lang="ts">
|
|
import { RouterView } from 'vue-router';
|
|
import GameFeedbackLayer from './components/ui/GameFeedbackLayer.vue';
|
|
import { useDeploymentVersionNotice } from './composables/useDeploymentVersionNotice';
|
|
|
|
useDeploymentVersionNotice();
|
|
</script>
|
|
|
|
<template>
|
|
<RouterView />
|
|
<GameFeedbackLayer />
|
|
</template>
|
|
|
|
<style>
|
|
/* Global styles can live in assets/main.css */
|
|
</style>
|