Topic: MDB + React + Vite?
tomwhartung asked 2 years ago
Hoped-for behavior
I would like to use MDB, React and Vite (as well as TypeScript) together.
Actual behavior
I have learned how to use MDB CLI to get MDB + React and MDB + Vite, but have not yet figured out how to get all three.
Am I missing something obvious? Is there a way to get all three manually?
Resources (screenshots, code snippets etc.)
- Run mdb init
- Scroll through the list
- Find React, and Standard + Vite, but I cannot find both together
Thanks in advance for any assistance anyone can offer!
Grzegorz Bujański staff answered 2 years ago
Unfortunately, we do not have a ready-made starter for MDB React + Vite at the moment. But you can do it easily. Execute the command: npm init vite@latest -- --template react-ts
and add the MDB React, e.g. with npm: npm i mdb-react-ui-kit
tomwhartung commented 2 years ago
Thank you so much, Grzegorz!!
Ercílio Júlio commented 4 months ago
I'm very grateful this helped a lot to reduce my work time styling my websites
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 6.1.0
- Device: Laptop Computer
- Browser: any
- OS: Linux
- Provided sample code: No
- Provided link: No