Package Exports
- @dennisreimann/vue-cli-plugin-ssr
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dennisreimann/vue-cli-plugin-ssr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@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.
Documentation
Sponsors
Gold
Silver
Bronze
About
⭐ 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
pagesandpublicPathoptionsAdditional
optionsandconfigarguments for theextendServerfunctionAccessing the server bundle and client manifest in the
extendServerfunctionAdded
prependServerfunctionWebpack 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
🚀 Roadmap:
- Automatic conversion of vuex modules to
state () {} - Integration with CLI UI