MDB + React + Vite?


Topic: MDB + React + Vite?

tomwhartung asked a year 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.)

  1. Run mdb init
  2. Scroll through the list
  3. 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 a year 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 a year ago

Thank you so much, Grzegorz!!


Ercílio Júlio commented 3 months ago

I'm very grateful this helped a lot to reduce my work time styling my websites


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • 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