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 a plugin for hmr to support django templates #4

Open
martindemello opened this issue Aug 27, 2022 · 1 comment
Open

add a plugin for hmr to support django templates #4

martindemello opened this issue Aug 27, 2022 · 1 comment

Comments

@martindemello
Copy link

MrBin99/django-vite#17 was closed because it was part of vite.config.js rather than the django plugin. However, the solution will be similar for any django project, so it seems worth adding it to the example project at least.

@GatoVuelta
Copy link

Implemented already, include:

{% load django_vite %}
...
{% vite_hmr_client %}

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