UNPKG

@akryum/vue-cli-plugin-ssr

Version:

Turn your app into an isomorphic SSR app!

10 lines (8 loc) 280 B
module.exports = (api, options) => { const outputPath = options.outputPath || './dist' return { distPath: api.resolve(outputPath), templatePath: api.resolve(`${outputPath}/index.ssr.html`), serviceWorkerPath: api.resolve(`${outputPath}/service-worker.js`), } }