PWA
This commit is contained in:
parent
8752f45b83
commit
c4740cdcdf
@ -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,
|
||||
},
|
||||
});
|
||||
}),
|
||||
);
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user