我是新来的Angular 2,我知道主持人Angular 1.x在共享托管像GoDaddy,但我不知道如何发布Angular 2应用程序,例如我有这个结构文件夹:
angular2-quickstart --app app.component.ts main.ts --node_modules --typings index.html package.json styles.css systemjs.config.js tsconfig.json typings.json
我需要在ftp上传什么文件?
我没有尝试任何东西,因为我不知道如何进行
提前致谢!
解决方法
如果您没有后端,免费的托管网站通常会找到一个index.html来开始他们的工作.因此,您的文件夹结构是正确的,但您需要上传js文件而不是ts文件.