-
-
Save ea2305/d9feecd7c6d6c7b79c1ae27e2b23d984 to your computer and use it in GitHub Desktop.
example ssr - vue config pre-render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vue.config.js | |
module.exports = { | |
pluginOptions: { | |
prerenderSpa: { | |
registry: undefined, | |
renderRoutes: [ | |
'/' | |
], | |
useRenderEvent: true, | |
headless: true, | |
onlyProduction: true | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment