Ich habe angle-cli.json Zeile 9 "outDir": "dist/bice /" und der Build ist in Ordnung, aber ich brauche die Entwicklungsumgebung, die Bice Unterverzeichnis widerspiegeln . Z.B. http://localhost:4200/bice/Wie Angular 2 CLI ng dienen über Unterverzeichnis
Statistiken:
Linux (arch/Antergos)
angular-cli: 1.0.0-beta.24
node: 7.5.0
os: linux x64
@angular/common: 2.4.0
@angular/compiler: 2.4.0
@angular/core: 2.4.0
@angular/forms: 2.4.0
@angular/http: 2.4.0
@angular/platform-browser: 2.4.0
@angular/platform-browser-dynamic: 2.4.0
@angular/router: 3.4.0
@angular/compiler-cli: 2.4.0
Wenn dies Ihr Problem löst, markieren Sie es als die akzeptierte Antwort. :) – msanford