refactor: inject pwa client plugin from module (#1758)
This commit is contained in:
parent
523578ba7b
commit
436489461c
7 changed files with 28 additions and 7 deletions
|
@ -133,6 +133,9 @@ export default defineNuxtConfig({
|
|||
},
|
||||
sourcemap: isDevelopment,
|
||||
hooks: {
|
||||
'prepare:types': function ({ references }) {
|
||||
references.push({ types: '@types/wicg-file-system-access' })
|
||||
},
|
||||
'nitro:config': function (config) {
|
||||
const nuxt = useNuxt()
|
||||
config.virtual = config.virtual || {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue