-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript support #14
Comments
Hello @Bosn , I honestly do not know how much work you would have to put, to make this work with TypeScript. Best, |
It would be really nice if it will support typescript too. Any plan on supporting typescript? If yes, then tentative timeline? |
Hello @zahidraza , Thank you for your interest in our product. Best, |
I would really like to buy this theme, but my project uses typescript too, I'm afraid to spend the money and have a lot of errors when trying to use it. |
Hello @lmcarreiro , Thank you for your interest in using our product and sorry for this inconvenience. Best, |
@einazare Yes, this theme will surely work with TypeScript! However, without TS declaration files I strongly want to buy this theme, due to this... I have to wait for the TypeScript support. Hope it would be implemented in future. |
Hello @Bosn , We are going to take a look at TypeScript and see how long it would take for us to implement our components in TypeScript, but for now, we kind off have all the lasting months of this year planned out, and i do not see how we could fit in our tight schedule this, but will se what we can do. Best, |
I came across this repo (https://github.com/Slessi/material-dashboard-react-ts) that has migrated some components to TS. I haven't used it nor tested anything but it's probably useful to look into to help with the migration internally. Besides the React components being implemented in Typescript you'll need to edit the build steps to handle Typescript. I've spent a whole day on migrating our configuration from the default configuration to handling Typescript. I've tried using Eventually I got it to compile correctly. Here's how I did it:
|
Hello there @keithalpichi , And thank you for your interest in using our product and thank you for this. Best, |
@keithalpichi Your steps hightlight well what needs to be done. Alternatively I have used https://github.com/wmonk/create-react-app-typescript to not eject but have proper typescript support, I then copy/pasted all files from creative tim to this directory. |
Thanks @ChrisJamesC to point us the create-react-app-typescript. The Creative-Tim stuff does work there without declaration files. Does anyone know what exactly is the setting there to make this happen? I have an existing project with my own webpack/ts config files (not created by CRA). It would be great if I can apply the same setting. |
Hi @einazare back in Jun you said it was not going to happen within 4-6 month. |
Hello there @Leandro-Andrade , Thank you for your interest in working with our products. Best, |
One year later... Will we have Tyepscript support? |
Hello there, @futbolsalas15 , For the moment we've decided our React products to not have TypeScript support.
Best, |
Dear @einazare , |
Hello there, @saeedghaf , I've added your request to be seen by the Creative Tim management. Best, |
Like others, TypeScript support would be great and probably would make the product more marketable as you can see many of us looking for it. Add my name to the list looking for TypeScript support. |
Hello, I have purchased the Pro version of the dashboard but, right not all my projects need to be written in Typescript, Please let everybody know if you have an ETA for an eventual migration of your components to TS. |
Hello there, @joviol , At the moment we do not have an ETA for TypeScript support on our React products. Best, |
@einazare there is a template available for typescript with using create-react-app. https://create-react-app.dev/docs/getting-started For others looking for a more immediate fix, I added typescript following the above link and then went through and made changes migrating to typescript and resolving any compiler errors along the way(warning did a number of changes, but to get it working put in 10-20hrs of effort per template). Likely not of been the best upgrade as I'm no expert and not utilizing full benefits of types but it now compiles and works and able to continue forward using typescript with the rest of my project. We shall see how well it works as we go :). Did this with both Material Dashboard and Material Kit Pro templates. |
The free version of this project I tried was this rep https://github.com/Slessi/material-dashboard-react-ts, then I bought the react bundle to get the pro version code, But I found it doesn't support typescript, but my project is based on typescript, what should i do? @einazare |
Hello there, @lrl219 At the moment, we cannot offer support for TypeScript since we haven't learned how to add TypeScript to our React products. Best, |
All right, hope you can offer support for typescript as soon as possible as typescript has become the mainstream.Since it's my own mistake, It seems that my 119$ licensing fee will have to be a donation at the moment. 😊😊 |
If people search key words "react dashboard typescript" in google, the first one is the free typescript version of this product. That means a lot of people need this product to support typescript. Just can't understand why you don't invest in development staff to support typescript. |
+1, just threw a bunch of money away for an inferior product to the free version(s) 😢 |
I was able to get the free version to use typescript with editing tsconfig to match the webpack paths resolution. This was my blocker from spending money on the pro version. Unfortunately, this fix did not work on the pro version of material pro. I won't give up but there's a reason why I'm spending my Friday night on this github issue. It's not straightforward, and disappointing that the free version is more typescript friendly than the paid one. Also tried ts-migrate with no luck. |
Is there a way that the community can contribute this support? I was about to purchase but came across this glaring omission (what is this, 2016?), but I (and others here) might be willing to just spend our own time to add it. I guess foolish decisions like this are the biggest problem with closed-source software. |
Hello there, @Californian , Thank you for your response. Best, |
@einazare That would be great - looking forward to being able to use these in projects. |
Hello there, @robquinn , Thank you for your interest in working with our products, and sorry to hear about your issues. I honestly do not know what we can do more than that - besides selling TypeScript and React products. Anyways, on behalf of all Creative Tim staff, we are happy that in the end, you have found a product that suits your needs. Happy Hacking! Best, PS: unfortunately, my managers asked me to delete the links you have provided in your message. |
+1 for TypeScript support - this is an essential for us. We would have bought your Company licence (probably even the Club for LTS), for use across multiple projects, but lack of TS is a killer. Sorry! |
Wanted to add a +1 on this. I recently purchased the bundle but am definitely missing TypeScript. Would have likely held off on the purchase if I knew TypeScript wasn't included. Should have checked the free version first, so that's on me, but I know TypeScript support would be very valuable. |
Since CT has commented about this. But it appears that they have released a new product a couple months ago that using TypeScript & React using MUI. Sadly its not this exact package and would require a new purchase and that it isn't currently included with any of their bundles. BUT its an offering. Material Dashboard 2 PRO React TS - https://www.creative-tim.com/product/material-dashboard-2-pro-react-ts |
This convo is about the paid version, but if it's useful I converted the Material Dashboard 2 (free) version themes to typescript in this repo Notable changes:
If you'd rather have the above you can just add them back and modify the types with module augmentation |
My project is based on TypeScript, can I use this without lots of work?
The text was updated successfully, but these errors were encountered: