bun icon indicating copy to clipboard operation
bun copied to clipboard

React typescript

Open DanielVain opened this issue 2 years ago • 5 comments

Can it be possible to add an install option for React with TypeScript as a default language?

It's kind of a nuisance to change all of the JSX files to TSX every time i open a new project.

DanielVain avatar Aug 02 '22 12:08 DanielVain

You can create local template for now

xhyrom avatar Aug 02 '22 12:08 xhyrom

Wouldn't be easier and faster to install it with bun every time?

DanielVain avatar Aug 02 '22 13:08 DanielVain

@DanielVain The readme says PRs with new template/examples are welcome. Create a fork, add a React with TypeScript template, and submit a PR and reference this issue #. 🙂

JL102 avatar Aug 02 '22 18:08 JL102

@DanielVain The readme says PRs with new template/examples are welcome. Create a fork, add a React with TypeScript template, and submit a PR and reference this issue #. 🙂

Only if i knew how to do that..

DanielVain avatar Aug 03 '22 07:08 DanielVain

@DanielVain The readme says PRs with new template/examples are welcome. Create a fork, add a React with TypeScript template, and submit a PR and reference this issue #. slightly_smiling_face

Only if i knew how to do that..

here are some examples prs https://github.com/oven-sh/bun/pulls?q=is%3Apr+template+

UltiRequiem avatar Aug 03 '22 21:08 UltiRequiem