We can add an option to use the Typescript starter templates for Vue or React (vue-ts/react-ts). We would have to make some changes to boilerplates and file names for this.
[ ] Add flag for Typescript in CLI options
[ ] Initialise Vite with vue-ts and react-ts templates if TS selected.
[ ] For Vue - main.js will be main.ts in link_controller_files. (If TS selected)
[ ] For React - App.jsx will be App.tsx in create_react_files. (If TS selected)
We can add an option to use the Typescript starter templates for Vue or React (
vue-ts
/react-ts
). We would have to make some changes to boilerplates and file names for this.vue-ts
andreact-ts
templates if TS selected.main.js
will bemain.ts
inlink_controller_files
. (If TS selected)App.jsx
will beApp.tsx
increate_react_files
. (If TS selected)vite.config.js
will bevite.config.ts