mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 23:06:14 -04:00
revert(pwa): fallback to autoUpdate
This commit is contained in:
parent
400654b6b1
commit
ad202bd372
5 changed files with 2 additions and 89 deletions
|
@ -5,7 +5,6 @@ import { darkTheme, NGlobalStyle, NMessageProvider, NNotificationProvider } from
|
|||
import { darkThemeOverrides, lightThemeOverrides } from './themes';
|
||||
import { layouts } from './layouts';
|
||||
import { useStyleStore } from './stores/style.store';
|
||||
import ReloadPrompt from './components/ReloadPrompt';
|
||||
|
||||
const route = useRoute();
|
||||
const layout = computed(() => route?.meta?.layout ?? layouts.base);
|
||||
|
@ -20,7 +19,6 @@ const themeOverrides = computed(() => (styleStore.isDarkTheme ? darkThemeOverrid
|
|||
<n-global-style />
|
||||
<n-message-provider placement="bottom">
|
||||
<n-notification-provider placement="bottom-right">
|
||||
<reload-prompt />
|
||||
<component :is="layout">
|
||||
<router-view />
|
||||
</component>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue