Serving static html outside Angular4

前端 未结 4 1527
说谎
说谎 2020-12-16 12:37

I am a beginner in Angular 4/ Angular 2. I am building an app which consists of

1) static html files( aboutus.html, pricing.html, contact us.html etc), with corresp

4条回答
  •  眼角桃花
    2020-12-16 13:12

    If you want to serve static files locally with ng serve, you need to add them either in your assets folder or add to the assets config. See https://github.com/angular/angular-cli/issues/5029

提交回复
热议问题