angular-cn/aio
Georgios Kalpakas d0bc83ca27 build(aio): implement prerendering
The current implementation is based on @igorminar's [angular-io-v42][1]. It is
using Protractor to request all docs URLs, let them fallback to `/index.html`
and save the rendered page.

[1]: https://github.com/IgorMinar/angular-io-v42/tree/05508ab3/tools/prerenderer

Fixes #15104
2017-03-17 15:31:22 -05:00
..
aio-builds-setup build(aio): implement prerendering 2017-03-17 15:31:22 -05:00
content docs(aio): fix relative links 2017-03-13 16:56:23 -07:00
e2e feat(aio): initial design commit 2017-03-15 16:11:30 -07:00
scripts build(aio): implement prerendering 2017-03-17 15:31:22 -05:00
src fix(aio): scroll to hash fragment element on URL change 2017-03-15 16:11:30 -07:00
tools/prerender build(aio): implement prerendering 2017-03-17 15:31:22 -05:00
transforms fix(aio): ignore private exports 2017-03-15 16:11:29 -07:00
.angular-cli.json feat(aio): support @angular/service-worker using the CLI generated service worker manifest (#15042) 2017-03-10 14:05:29 -08:00
.firebaserc build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
.gitignore build(aio): implement prerendering 2017-03-17 15:31:22 -05:00
README.md build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
database.rules.json build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
firebase.json build(aio): implement prerendering 2017-03-17 15:31:22 -05:00
karma.conf.js build(aio): upgrade to CLI beta.32 and MD beta.2 2017-02-22 17:53:56 -08:00
ngsw-manifest.json feat(aio): support @angular/service-worker using the CLI generated service worker manifest (#15042) 2017-03-10 14:05:29 -08:00
package.json build(aio): implement prerendering 2017-03-17 15:31:22 -05:00
protractor.conf.js build(aio): implement prerendering 2017-03-17 15:31:22 -05:00
tslint.json build(aio): upgrade to CLI beta.32 and MD beta.2 2017-02-22 17:53:56 -08:00
yarn.lock build(aio): implement prerendering 2017-03-17 15:31:22 -05:00

README.md

Site

This project was generated with angular-cli version 1.0.0-beta.26.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Deploying to GitHub Pages

Run ng github-pages:deploy to deploy to GitHub Pages.

Further help

To get more help on the angular-cli use ng help or go check out the Angular-CLI README.