Ionic-framework: Cannot Create Javascript Project in ionic 2

Created on 19 Jun 2016  路  11Comments  路  Source: ionic-team/ionic-framework

Hi
I just started working today and I couldn't create javascript project

I tried

ionic start myProject --v2 --no-ts

All my files are in .ts

Most helpful comment

What's the point of removing optional Javascript setup?? Was it too complicated to maintain?
Forcing Typescript seems like abandoning the Javascript principles and minimalism and moving towards Java. Well, why not using Java instead of strongly typed Javascript then?

All 11 comments

same problem here +1

@AbdullahDahmash @kitkimwong JS option has been removed, since we are going to focus our efforts to support Typescript.

Since TS is a superset of JS, it is up to developers to use the new features or not. We strongly recommend to give TS a try, decorators and types help a lot while using angular 2.

What's the point of removing optional Javascript setup?? Was it too complicated to maintain?
Forcing Typescript seems like abandoning the Javascript principles and minimalism and moving towards Java. Well, why not using Java instead of strongly typed Javascript then?

Angular2 supports Javascript as well as TypeScript - disappointing news for Ionic2

One reason more for "I hate TS", :sob:

bad news... don't force us to use TS, give the option to choose would be a smart decision

I don't like TS, with pure javascript you can decide what last js features use and transcompile with babel or similar.

TS is not a different language, but a superset, that means you can write vanilla JS if you want to, just don't use classes, types, or anything.

TS is very easy to code and maintain. Development time error checking is a time saver.
Also, there is a lot of super cool features.

If you want to write pure JS, yor can.

Please, give TS a try, you won't regret.

I want to use same JS code in my ts ionic 2 projects.How to implement JS in my TS and reference and tutorial is there.Please help me.Because I need to write a function for epson thermal printer they given only support for js.

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings