版本
next-pwa
:next
:
问题
如何在 fallbacks.image 中加载更多图像,例如我需要两个图像到后备中
文件 - next.config.js
const withPWA = require('next-pwa');
module.exports = withPWA({
pwa: {
dest: 'public',
fallbacks: {
image: 'static/fallback.svg'
},
}
})
next-pwa
:next
:如何在 fallbacks.image 中加载更多图像,例如我需要两个图像到后备中
文件 - next.config.js
const withPWA = require('next-pwa');
module.exports = withPWA({
pwa: {
dest: 'public',
fallbacks: {
image: 'static/fallback.svg'
},
}
})