ionic-team / ionic-team/ionic-cli

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

Đang mở
#4,635 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.