Skip to content
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

Add Drupal to docs #2

Closed
mortona42 opened this issue Oct 21, 2024 · 2 comments
Closed

Add Drupal to docs #2

mortona42 opened this issue Oct 21, 2024 · 2 comments

Comments

@mortona42
Copy link

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!

@mandrasch
Copy link
Owner

hey @mortona42,

thanks for opening this up! Great to have more information about Drupal 🎉

Guess you mean https://ddev.com/blog/working-with-vite-in-ddev/?

If so, please open up a new issue here (and I will update the article accordingly):
https://github.com/ddev/ddev.com/issues

Or - if you have time and motivation - submit a PR to the article directly on the same repo:
https://github.com/ddev/ddev.com/blob/main/src/content/blog/working-with-vite-in-ddev.md

I'll close it here.

Cheers!

@mandrasch
Copy link
Owner

Created ddev/ddev.com#264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants