提交 fb9b506f 编写于 作者: View Design's avatar View Design

add pwa

上级 5d1e0ff5
// https://nuxt.com/docs/api/configuration/nuxt-config // https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({ export default defineNuxtConfig({
devtools: { enabled: true } devtools: { enabled: true },
}) modules: ["@vite-pwa/nuxt"]
})
\ No newline at end of file
此差异已折叠。
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
"postinstall": "nuxt prepare" "postinstall": "nuxt prepare"
}, },
"dependencies": { "dependencies": {
"@vite-pwa/nuxt": "^0.7.0",
"nuxt": "^3.11.2", "nuxt": "^3.11.2",
"vue": "^3.4.27", "vue": "^3.4.27",
"vue-router": "^4.3.2" "vue-router": "^4.3.2"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册