@dennisreimann/vue-cli-plugin-ssr

0.5.9 • Public • Published

@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.

Become a Patreon


Documentation


Sponsors

Gold

sum.cumo logo

Silver

VueSchool logo Vue Mastery logo

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 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:


🚀 Roadmap:

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

Readme

Keywords

Package Sidebar

Install

npm i @dennisreimann/vue-cli-plugin-ssr

Weekly Downloads

0

Version

0.5.9

License

MIT

Unpacked Size

53.3 kB

Total Files

32

Last publish

Collaborators

  • dennisreimann