You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This uses vite's manifest.json to map enabled Drupal library files to the compiled versions in /dist, or to the vite server in dev mode.
Here is a theme I contributed, with instructions for how to set it up with DDEV in the readme files. I'm trying to detail all the configuration possibilities we might need, with defaults that should work out of the box.
There are a handful of devs working on using vite to bundle assets multiple modules/themes in Drupal. Looks like Vite and Foxy are becoming the leading solutions.
Hello, your blog post on ddev+vite was one of the top results, and has been helpful with recent projects.
I'd like to share some notes on Drupal setup to help orient others.
Vite module: https://www.drupal.org/project/vite
This uses vite's manifest.json to map enabled Drupal library files to the compiled versions in /dist, or to the vite server in dev mode.
Here is a theme I contributed, with instructions for how to set it up with DDEV in the readme files. I'm trying to detail all the configuration possibilities we might need, with defaults that should work out of the box.
https://www.drupal.org/project/unocss_starter. (uses vite)
I'm blogging about the process here: https://www.drupalarchitect.info/projects/unocss-starter-theme
There are a handful of devs working on using vite to bundle assets multiple modules/themes in Drupal. Looks like Vite and Foxy are becoming the leading solutions.
https://www.drupal.org/project/foxy
Working POC: https://github.com/darvanen/drupal-js
I think we'll be seeing a lot of new things in this area over the next year. Thanks for managing the docs!
The text was updated successfully, but these errors were encountered: