This commit is contained in:
taskylizard 2023-11-12 19:56:30 +05:30
parent 8752f45b83
commit c4740cdcdf
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497
2 changed files with 120 additions and 120 deletions

View File

@ -9,7 +9,8 @@ import { generateImages, generateMeta } from "./hooks";
import { toggleStarredPlugin } from "./markdown/toggleStarred";
import { base64DecodePlugin } from "./markdown/base64";
export default defineConfig({
export default withPwa(
defineConfig({
title: "FMHY",
description: meta.description,
titleTemplate: ":title • freemediaheckyeah",
@ -128,6 +129,7 @@ export default defineConfig({
link: "https://reddit.com/r/FREEMEDIAHECKYEAH",
},
],
// ...pwa,
...pwa,
},
});
}),
);

View File

@ -1,12 +1,10 @@
import { h } from "vue";
import { type Theme, inBrowser } from "vitepress";
import DefaultTheme from "vitepress/theme";
import Sidebar from "./components/SidebarCard.vue";
import Layout from "./Layout.vue";
import "./style.css";
import "uno.css";
// if (inBrowser) import("./pwa");
if (inBrowser) import("./pwa");
export default {
extends: DefaultTheme,