0.5.9 • Published 6 years ago

@dennisreimann/vue-cli-plugin-ssr v0.5.9

Weekly downloads
70
License
MIT
Repository
github
Last release
6 years ago

@dennisreimann/vue-cli-plugin-ssr

npm npm vue-cli3

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 and publicPath options
  • Additional options and config arguments for the extendServer 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:

:rocket: Roadmap:

  • Automatic conversion of vuex modules to state () {}
  • Integration with CLI UI