How do I actually deploy an Angular 2 + Typescript

2019-01-01 12:14发布

There's a quickstarter tutorial over at angular.io which uses typescript & systemjs. Now that I've got that miniapp running, how would I go about creating something deployable? I couldn't find any info about it whatsoever.

Do I need any extra tools, any additional settings in System.config?

(I know that I could use webpack & create a single bundle.js, but I'd like to use systemjs as it is used in the tutorial)

Could someone share their build process with this setup (Angular 2, TypeScript, systemjs)

7条回答
深知你不懂我心
2楼-- · 2019-01-01 12:53

I used expressjs on the backend to serve my ng2 project. You can check it from my github page: https://github.com/echonax/ng2-beta-and-test-framework

查看更多
登录 后发表回答