Skip to content

Instantly share code, notes, and snippets.

@ea2305
Last active May 7, 2020 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ea2305/d9feecd7c6d6c7b79c1ae27e2b23d984 to your computer and use it in GitHub Desktop.
Save ea2305/d9feecd7c6d6c7b79c1ae27e2b23d984 to your computer and use it in GitHub Desktop.
example ssr - vue config pre-render
// 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