Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 1.15 KB

readme.md

File metadata and controls

29 lines (15 loc) · 1.15 KB

ASP.NET Core 2 & Vue.JS 2.5 with Server Side Rendering

This project is a proof of concept to prove that server side rendering is possible for multiple elements on a page, i.e. not a SPA application.

Requirements

This application has been tested with Node.JS version 8.11.3, and .Net Core 2.1.

Running the website

  • Install dependencies with yarn install or npm install.

Local Development

To run the website in development mode run yarn dev.

When running the website this will output warnings and display error messages from Vue.js as well as allow the use of the Vue.js devtools.

Production Build

To run the website in production mode run yarn prod.

This will build the required assets and the run the website in production mode. No warnings or error messages will be displayed, and the Vue.js devtools will be disabled.

Unit tests

The unit tests are written using the Jest framework.

  1. Run the unit tests with yarn test