Craft 4, DDEV, and Vite

A step-by-step guide on how to add Vite to DDEV and Craft CMS.

The code files list­ed below are updat­ed for the lat­est Vite and Craft Vite.

Vite is a mod­ern front-end tool by the cre­ator of Vue.js, Evan You. It was built with JavaScript appli­ca­tions in mind but with the help of con­tri­bu­tions from the Craft com­mu­ni­ty, we can get a lot of the nicei­eties of Vite in our own projects, too.

Code files you’ll need to fol­low along with the video:

Here are some links men­tioned in the video, includ­ing resources I used to cre­ate the video:

Craft Version
Craft 4, Craft 5
Topic
Instructor
Ryan Irelan
Level
Beginner
Date Published
June 29, 2022
Ryan Irelan

I am the creator of CraftQuest, a web developer, and former software team manager. I spend most of my time improving CraftQuest with code and courses. When I'm not in front of the computer, I spend my time with my family, and running on the roads and trails of Austin, TX.