diff --git a/vue.config.js b/vue.config.js index c8ad1e3..43d4421 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,5 +1,6 @@ const path = require('path') const PrerenderSPAPlugin = require('prerender-spa-plugin') +const Renderer = PrerenderSPAPlugin.PuppeteerRenderer const name = 'CEBG' @@ -39,7 +40,14 @@ module.exports = { new PrerenderSPAPlugin({ indexPath: path.resolve('dist/index.html'), staticDir: path.resolve('dist'), - routes: ['/nft', '/gameplay', '/tokenomic', '/roadmap', '/team'] + routes: ['/', '/nft', '/gameplay', '/tokenomic', '/roadmap', '/team'], + renderer: new Renderer({ + headless: true, + defaultViewport: { + width: 1920, + height: 1080 + } + }) }) ) }