I am trying to create a JS starter project but ionic start xxx --v2
creates a typescript project.
I need to create a JS starter project so I can copy across an existing JS ionic 2 app to a clean installation.
I did try renaming all of my JS files to typescript but a get a shed load of error messages of the type:
Property xxx does not exist on type yyy
Here is the official answer from Ionic Team: https://forum.ionicframework.com/t/typescript-project-files-named-js/54674/16
No support for JS anymore. Only Typescript
Just like you can read in Ionic docs:
So you would need to run
ionic start xxx --v2 --no-ts
==============================
EDIT:
You're right. It seems to be a bug either in the documentation or in the Ionic CLI. In this commit you can see the title is remove javascript as an option for v2 projects ... and here in the last comment they mention something about updating the docs (because it says Want to use JavaScript instead? Pass the --no-ts flag and get a project set up for JavaScript instead.).
You can follow along this post to see if someone from Ionic Team answer about this issue.
=============================
EDIT 2:
Just asked in
ionic-v2
Slack channel and the answer was: