Skip to content

gustavoSoriano/ssr-vuejs-nodejs

Repository files navigation

Server side rendering with Vuejs and Node.js

Implementation of vue-server-renderer with Node.js and vuejs

Available in awesome-vue

Development

  npm run dev

Build without server side rendering

  npm run build

Build with node and server side rendering

  npm run build-server

In production

  npm start

vue-server-renderer implementation

app.get('*', (req, res) => {
   renderer.renderToString({}, (err, html) => {
		if (err) {
			return res.sendStatus(500)
		}
		res.send(index.replace('<div id=app></div>', html))
	})
})

Contribution

All contributions are welcome just open a pull request and explain what you did :D

About

Server side render vuejs with nodejs without nuxt

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy