@openreply/vue-cli-plugin-ssr
Simple Server-Side-Rendering plugin for Vue CLI (Work-in-Progress)
@akryum/ssr
, which should be considered the main package.
This fork contains some features that aren't merged in the main repository, yet.
Like support for the Vue-CLI pages
and publicPath
options.
Documentation
Sponsors
Gold
Silver
Bronze
About
- Automatic conversion of your project to SSR
- Integrated express server
- Vuex store
- Async routes
- vue-cli-plugin-apollo support
- Custom middlewares
This fork of the original package by @Akryum also supports:
-
The Vue CLI
pages
andpublicPath
options -
Additional
options
andconfig
arguments for theextendServer
function -
Accessing the server bundle and client manifest in the
extendServer
function -
Added
prependServer
function -
Webpack config export analogous to Vue CLI
const [clientConfig, serverConfig] = require('@openreply/vue-cli-plugin-ssr/webpack.config')
(I strive to get these additions merged once they are fully tested.)
The following PRs have also been merged in this fork:
- #98: Support publicPath in vue.config.js
- #93: Await router before mounting the app
- #75: Fix Type in docs
- Automatic conversion of vuex modules to
state () {}
- Integration with CLI UI