Skip to content

Commit

Permalink
fix: loading state on SSG
Browse files Browse the repository at this point in the history
  • Loading branch information
mwargan committed Mar 20, 2024
1 parent f8bb368 commit f3e0592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { RouterView, useRouter } from "vue-router";
import { ref } from "vue";
import { navIsLoading } from "./router";
const isReady = ref(false);
const isReady = ref(import.meta.env.SSR ?? false);
const router = useRouter();
Expand Down

0 comments on commit f3e0592

Please sign in to comment.