Created on 27 August 2021, over 3 years ago
Updated 21 March 2023, almost 2 years ago

I noticed that this project doesn't have much code yet. As an FYI, I created a proof of concept several months ago for a theme using Vite. You're welcome to scavenge ideas from it.

https://github.com/segovia94/drupal-vite-poc

🌱 Plan
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States segovia94

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Hi @wotnak,
    do you have the 'several example vite configurations' listed somewhere?
    Or can you please provide me with a working 'starting point' example?

  • πŸ‡΅πŸ‡±Poland wotnak

    No, didn't yet get to preparing them. The starting point would depend on what you want to do. Use vite for building theme styles/scripts? Maybe for a custom decoupled block? Configuration for integration with vite dev server will also depend (at least until https://www.drupal.org/project/vite/issues/3340765 ✨ Proxy requests to vite dev server Active is implemented) on your development environment setup.

    On GitHub there seems to be a project that uses this module for a custom theme with styles written in scss https://github.com/bronisMateusz/visualize, maybe it can be of some help.

    I also created a new issue https://www.drupal.org/project/vite/issues/3349311 πŸ“Œ Example configurations/starting points Active to track creating some examples. If you have some specific use case/configuration you would want to see an example of, you can describe it there, and I will try to implement it on the weekend.

Production build 0.71.5 2024