Angular2 Router: add hashtag to url
问题 I'm using Angular2 Seed application, and you can find it in the official repo. As you can see, here we have angular2/router imported, and we're using it to create the basic routing of the application. import {Component, ViewEncapsulation} from 'angular2/angular2'; import { RouteConfig, ROUTER_DIRECTIVES } from 'angular2/router'; ... @RouteConfig([ { path: '/', component: HomeCmp, as: 'Home' }, { path: '/about', component: AboutCmp, as: 'About' } ]) export class AppCmp {} My question is: how