ionic-team / ionic-team/ionic-cli

feat: An option to select between js or ts for while using ionic start

未关闭
#4,635 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

# 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。