Ionic-cli: Change JS flag to --js

Created on 8 Jun 2016  路  6Comments  路  Source: ionic-team/ionic-cli

Instead of --no-ts for starting a JavaScript version, let's change it to --js.

Most helpful comment

That's really bad for us :( I really like ECMAScript 6 instead of Typescript, I even have to migrate all my beta.25 code to typescript. I feel really bad for this :(

All 6 comments

This flag was removed in favor of all v2 projects being TypeScript. Please reference commit 3f87bfb09e37214301c27863c53bb7a9cabdf555.

Please update documentation.

Want to use JavaScript instead? Pass the --no-ts flag and get a project set up for JavaScript instead.

If I am not mistaken there is no way to start sample app in JavaScript?! (https://github.com/driftyco/ionic-cli/commit/3f87bfb09e37214301c27863c53bb7a9cabdf555#diff-26488b21857121cfbc2862f3af3b0a3cL51)

This is correct. Ionic2 applications are only available as Typescript.

That's really bad for us :( I really like ECMAScript 6 instead of Typescript, I even have to migrate all my beta.25 code to typescript. I feel really bad for this :(

If i have dependencies which don't have a TS definition file i have to stick with `ionic < 2``?

Was this page helpful?
0 / 5 - 0 ratings