Stylesheet not loaded because of MIME-type

前端 未结 30 3131
猫巷女王i
猫巷女王i 2020-11-22 07:29

I\'m working on a website that uses gulp to compile and browser sync to keep the browser synchronised with my changes.

The gulp task compiles everything

30条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-22 08:06

    Also for others using Angular-CLI and publishing to a sub-folder on the webserver, check this answer:

    When you're deploying to a non-root path within a domain, you'll need to manually update the tag in your dist/index.html.

    In this case, you will need to update to

    https://github.com/angular/angular-cli/issues/1080

提交回复
热议问题