Serving static html outside Angular4

前端 未结 4 1531
说谎
说谎 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:14

    You can put your static html files into the /assets/ folder.

    For example, if you put your aboutus.html file into the folder /assets/static/, then you can link to http://localhost/assets/static/aboutus.html

提交回复
热议问题