且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

托管Angular 2应用程序

更新时间:2022-05-22 03:07:22

如果您没有后端,免费托管网站通常会寻找index.html来开始他们的工作。因此,您的文件夹结构是正确的,但您需要上传js文件而不是ts文件。

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.