New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-vue-builder

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-vue-builder - npm Package Compare versions

Comparing version 2.0.0 to 2.0.2

5

package.json
{
"name": "express-vue-builder",
"version": "2.0.0",
"description": "Vue.js server-side and client-side rendering middleware for Express.js.",
"version": "2.0.2",
"description": "Vue.js server-side rendering middleware for Express.js.",
"main": "./src/index.js",

@@ -14,2 +14,3 @@ "ava": {

"scripts": {
"pretest": "npm run example:build",
"test": "ava",

@@ -16,0 +17,0 @@ "example": "npm run example:build; npm run example:start",

8

README.md

@@ -5,7 +5,7 @@ ![Build Status](https://travis-ci.org/xpepermint/express-vue-builder.svg?branch=master) [![NPM Version](https://badge.fury.io/js/express-vue-builder.svg)](https://badge.fury.io/js/express-vue-builder) [![Dependency Status](https://gemnasium.com/xpepermint/express-vue-builder.svg)](https://gemnasium.com/xpepermint/express-vue-builder)

> Vue.js server-side and client-side rendering middleware for Express.js.
> Vue.js server-side rendering middleware for Express.js.
<img src="logo.png" height="60" style="margin-bottom: 20px" />
This package provides [Vue.js](http://vuejs.org) middlewares for [Express.js](http://expressjs.com). It provides server-side application rendering tools and is meant for use in production.
This package provides production-ready server-side [Vue.js](http://vuejs.org) application rendering middleware for [Express.js](http://expressjs.com). It creates a new instance of [VueRender](https://github.com/xpepermint/vue-builder#api) class (provided by the [vue-builder](https://github.com/xpepermint/express-vue-builder) dependency) and installs it to the request object as `req.vue` variable.

@@ -30,4 +30,2 @@ This is an open source package for [Vue.js](http://vuejs.org/) and [Express.js](http://expressjs.com). The source code is available on [GitHub](https://github.com/xpepermint/express-vue-builder) where you can also find our [issue tracker](https://github.com/xpepermint/express-vue-builder/issues).

The `bundleRenderer` middleware provides server-side rendering for Vue.js applications in **production**. It creates a new instance of [VueRender](https://github.com/xpepermint/vue-builder#api) class (provided by the [vue-builder](https://github.com/xpepermint/express-vue-builder) dependency) and installs it to the request object as `req.vue` variable.
Before we deploy application in production, we need to compile our Vue.js application into a bundle. A bundle is simply a file holding application's source code. Because we would like to render application in browsers as well as on the server, we need to build two bundle files - one targeting browsers, the other targeting the server. Check the attached example on how to build a bundle. Check the documentation of the [vue-builder](https://github.com/xpepermint/express-vue-builder) package for details.

@@ -51,3 +49,3 @@

> Server-side rendering utils for Vue.js application in production.
> Server-side rendering middleware for Vue.js application.

@@ -54,0 +52,0 @@ | Option | Type | Required | Default | Description

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc