Add support for JSX file format as well via create-email #586
Replies: 6 comments
-
Nice, thanks for creating this @gokulkrishh. I think we can have a $ create-email $ create-email --typescript |
Beta Was this translation helpful? Give feedback.
-
@bukinoshita So by default |
Beta Was this translation helpful? Give feedback.
-
I would suggest to switch it around. Typescript by default, and |
Beta Was this translation helpful? Give feedback.
-
@bastiaanv I am not so sure about typescript being the default for most frameworks (Not trying to start a debate on typescript 😄). For CRA and NextJS, we need to pass Would leave this decision to you people to decide. |
Beta Was this translation helpful? Give feedback.
-
Yeah, I'd prefer having Typescript as default as well, but most libraries has JS as default instead of typescript. So I'd suggest going with |
Beta Was this translation helpful? Give feedback.
-
Just to iterate back on this, we going to stick with Typescript as default version and if |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using this command, i am able to create starter email
By default, above command create Component files in
.tsx
file format, it would be great if there is flag to enable the support for.jsx
file format as wellSuggestion:
Note: JSX file support is already in place via [#231]. Asking for flag to enable the creation of Components as jsx file.
Beta Was this translation helpful? Give feedback.
All reactions