add supabase editor
This commit is contained in:
1 parent
7c48643759
commit
58240ff520
6 files changed
+183
-5
No files matched your search
@@ -14,6 +14,7 @@ import VocabQuiz from "./components/VocabQuiz.vue";
|
||||
import YouTube from "./components/YouTube.vue";
|
||||
|
||||
import type { Theme } from "vitepress";
|
||||
import { signIn } from "./supabase.ts";
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
Layout: () => {
|
||||
@@ -32,3 +33,8 @@ export default {
|
||||
// app.component("PDF", PDF);
|
||||
},
|
||||
} satisfies Theme;
|
||||
|
||||
//@ts-ignore
|
||||
if (import.meta.env.SSR) {
|
||||
signIn();
|
||||
}
|
||||
Reference in new issue
Block a user