语言

Menu
Sites
Language
Build app with Angular 2.0 and typescript

Hi,

I'm trying to build an app with angular 2.0 and typescript but I came across a couple issues. It seems like it doesn't like the javascript libraries. Could you tell me the requirements for javascript in building the project and package with the IDE 2.4 sdk? 

You could use this repo for an example and built it from it's dist folder after you do a  "npm run build" : https://github.com/angular/angular2-seed#readme

 

Thanks,

Michael 

响应

2 回复
Iqbal Hossain

Can you please share some code snippet you used to build the app ? I mean how do you add the angular library files in your app? 

Iqbal Hossain

Hi~

Follow the steps for working Angular2  with Typescript.

You can get more help from these links

1. https://scotch.io/tutorials/build-a-mobile-app-with-angular-2-and-ionic-2

2. http://blog.thoughtram.io/angular/2016/07/27/custom-form-controls-in-angular-2.html

3. http://thejackalofjavascript.com/getting-started-with-angular-2-0/

Please let me know if it works or not. 

Thank you.