We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ssr
nuxt dev
1 parent bea24f8 commit b6a5eadCopy full SHA for b6a5ead
lib/meta/module.js
@@ -6,9 +6,14 @@ const { mergeMeta } = require('./meta.merge')
6
module.exports = function nuxtMeta (pwa) {
7
const { nuxt } = this
8
9
- nuxt.hook('build:before', () => generateMeta.call(this, pwa))
+ nuxt.hook('build:before', () => {
10
+ generateMeta.call(this, pwa)
11
+ })
12
13
// SPA Support
14
+ nuxt.hook('build:done', () => {
15
+ SPASupport.call(this, pwa)
16
17
if (nuxt.options.target === 'static') {
18
nuxt.hook('generate:extendRoutes', () => SPASupport.call(this, pwa))
19
} else if (!nuxt.options._build) {
0 commit comments