0.5.9 • Published 6 years ago
@dennisreimann/vue-cli-plugin-ssr v0.5.9
@dennisreimann/vue-cli-plugin-ssr
Simple Server-Side-Rendering plugin for Vue CLI (Work-in-Progress)
⚠️ Note: This is a fork of @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.
Sponsors
Gold
Silver
Bronze
About
:star: Features:
- 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('@dennisreimann/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
:rocket: Roadmap:
- Automatic conversion of vuex modules to
state () {}
- Integration with CLI UI