Skip to content

The "ng build" dist html file is compiling incorrectly #6006

@totallytotallyamazing

Description

@totallytotallyamazing

Please go to the below link to StackOverflow and see the correct (green check marked) answer for a good explanation

http://stackoverflow.com/questions/37558656/angular-clis-ng-build-doesnt-produce-a-working-project

question title:
"Angular CLi's “ng build” doesn't produce a working project?"

correct question answer:

change:
<base href="/">

to:
<base href="./">

Versions.

angular-cli 1.0.0
on
Linux and macOSsierra, that I'm aware of.

Desired functionality.

should load angular js instead just loads html
This appears to be a bug.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions