feat: add pwa out of box.
This commit is contained in:
parent
b9f6571d29
commit
94b3b9b648
@ -7,6 +7,7 @@ import {
|
||||
transformerNotationHighlight,
|
||||
transformerNotationWordHighlight,
|
||||
} from '@shikijs/transformers';
|
||||
import AstroPWA from '@vite-pwa/astro';
|
||||
import { uploader } from 'astro-uploader';
|
||||
import { defineConfig, envField } from 'astro/config';
|
||||
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
|
||||
@ -48,6 +49,7 @@ export default defineConfig({
|
||||
validateSecrets: true,
|
||||
},
|
||||
integrations: [
|
||||
AstroPWA(),
|
||||
mdx({
|
||||
remarkPlugins: [astroImage],
|
||||
rehypePlugins: [
|
||||
|
4717
package-lock.json
generated
4717
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -69,6 +69,7 @@
|
||||
"@types/pg": "^8.11.10",
|
||||
"@types/qrcode-svg": "^1.1.5",
|
||||
"@types/unist": "^3.0.3",
|
||||
"@vite-pwa/astro": "^0.5.0",
|
||||
"astro-netease-player": "^1.0.2",
|
||||
"astro-uploader": "^1.2.3",
|
||||
"bootstrap": "^5.3.3",
|
||||
|
Loading…
Reference in New Issue
Block a user