Hosting Angular 2 app

前端 未结 5 967
心在旅途
心在旅途 2021-02-05 21:21

I\'m new to Angular 2, I know host Angular 1.x on shared hosting like GoDaddy, but I don\'t have idea how publish Angular 2 a

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-05 21:36

    If you don't have a backend, free hosting sites will usually look for an index.html to begin their job. Hence, your folder structure is correct but you will need to upload the js files instead of the ts files.

提交回复
热议问题