cajames / multi-ssr

POC for a single node multi-domain SSR solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-Domain SSR POC

This is a proof-of-concept project to show how to render two different domains with one Vue SSR node instance.

Depending on the origin of the request (hostname) the SSR node will return a different Vue App.

In the same way based on the configuration passed down, the client should only download the relevant webpack chunk for it's respective website.

Try it out

Upgrades:

  • Right now any new templates need the whole project to be built, bundled and then redeployed out to be made active. Would be cool to find a way to not have to re-deploy for new templates

About

POC for a single node multi-domain SSR solution


Languages

Language:JavaScript 86.2%Language:Vue 13.0%Language:HTML 0.8%