WARNING: This repository is not maintained anymore.
Demonstrates the use of Serve-SPA with different SPA frameworks.
The demos folder contains the implementation of the same example SPA implemented using different SPA frameworks. Each one in its original form as well as in its precomposed form served with Serve-SPA – so you can see in a diff which changes to make.
- Clone this repo to your desktop,
- in the shell
cd
to the main folder, - hit
npm install
- hit
npm install bower -g
if you haven't installed Bower globally yet, and - run
bower install
. (Or runnode ./node_modules/.bin/bower install
if you don't want to install Bower globally.)
E.g. for running the precomposed SPA using Angular.js:
cd
to the main folder of this repo,- hit
node demos/angularjs/precomposed/server.js
, and - open http://localhost:3000 in your browser.