Skip to content

Seed project for Angular Universal apps featuring Server-Side Rendering

License

Notifications You must be signed in to change notification settings

dimakuba/angular-universal-starter

Repository files navigation

angular-universal-starter

Installing

# clone the repo
git clone https://github.com/HVND/angular-universal-starter

# change directory to the repo
cd angular-universal-starter

# use npm (or yarn) to install the dependencies
npm install

# start the server (SPA / lean Angular)
npm start

# prod build (Universal)
npm run build:prod

# start the server (Angular Universal)
npm run serve

Navigate to http://localhost:4200 for SPA (lean Angular) and http://localhost:8000 for Angular Universal in your browser.