c9c13f4b29
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@44049 d315682c-612b-4755-9ff5-7f18f6832af3 |
||
---|---|---|
.. | ||
src | ||
.editorconfig | ||
.gitignore | ||
README.md | ||
app.json | ||
nodemon.json | ||
npm-shrinkwrap.json.stable | ||
package.json | ||
tsconfig.json | ||
webpack.config.ts |
README.md
Angular 2 Universal Starter
Server-Side Rendering for Angular 2
A minimal Angular 2 starter for Universal JavaScript using TypeScript 2 and Webpack 2
If you're looking for the Angular Universal repo go to angular/universal
Installation
npm install
Serve
npm start
to build your client app and start a web servernpm run build
to prepare a distributable bundle
Development
- run
npm start
andnpm run watch
in two separate terminals to build your client app, start a web server, and allow file changes to update in realtime
Watch files
npm run watch
to build your client app and start a web server