1

I could not find a way to start Ionic v2 sample app ionic start appname --v2 with JavaScript and NOT TypeScript.

I have tried --v2 --js, --v2 --no-tsand I always get ts version of app.

Am I wrong or JavaScript version is not available any longer in sample start app?! => ionic-cli.

It seems weird.

Any idea to get it to work? Thank you for your help

1

1 Answer 1

1

Like you can see in this answer:

Just asked in ionic-v2 Slack channel and the answer was:

We're going all in on TS.

You could do your own work and covert it toa es6 workflow, but we want people to use typescript

As @HerbiShtini mentioned in the comments, in this issue it's said that:

Ionic2 applications are only available as Typescript.

Sign up to request clarification or add additional context in comments.

5 Comments

I will just copy the framework(js, scss) and get out of their ecosystem then. Thanks!
Sorry for the bad news... But why don't you give Typescript a try? After all, Angular2 has been written in Typescript.
They must have a reason for doing that. I am a bit in hurry and did not want to spend time with TS but I will give it an overview. Thanks
This clears doubts even further => github.com/driftyco/ionic-cli/issues/1057
If you don't mind, please feel free to edit the answer to include that information or tell me to do so and I will :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.