ionic-team / ionic-team/ionic-cli
feat: An option to select between js or ts for while using ionic start
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 682
- PR merge metrics
- No merged PRs in 30d
Description
# Feature Request
**Ionic version:**
[x] 6.12.4
**Describe the Feature Request**
Request you guys to add a option where we could choose between `.ts` or `.js` while building the vue apps with ionic framework, i know you have a documentation around how to convert the projects from `.ts` to `.js`.
However when starting a new with **sidemenu**, **tabs** or **list** we have a bunch of supporting files containting code written in `ts` and which is hard to convert espescially for freasher with 0 exposure to `ts`.
All i was able to do was start the new project, admire the layout and get lost in the maze of all that manual `.ts` to `.js` code conversion with tonns of errors in console. I spent 4 hrs before giving up and moving on with a blank project which is quite easy to convert.
**Describe Preferred Solution**
Just like selecting React, Angular or Vue when we are starting a new app we should have a option to select between `TypeScript` OR `JavaScript`
**Describe Alternatives**
Alternative can be having separate pages/tabs in the documentation for each boilerplate offered during the start the app, where **how to covert the boilerplate from `.ts` to `.js` and its code** within is shown.
**Additional Context**
Its really difficult to manually convert the code inside of boilerplates `.ts` file to `.js` as a fresher with 0 exposer to TypeScript. also a lot of time is spent while doing so
Contributor guide
Assessment
This issue has not been assessed yet.