From 2e95c677d9ca79a915986ac395e15c1fdab6c3b0 Mon Sep 17 00:00:00 2001 From: Saad Date: Wed, 22 Mar 2023 11:50:18 +0600 Subject: [PATCH 1/2] added support for loading multiple assets --- .gitignore | 1 + README.md | 6 +++--- django_vite/templatetags/django_vite.py | 28 ++++++++++++------------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index c18dd8d..fceec94 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ __pycache__/ +venv \ No newline at end of file diff --git a/README.md b/README.md index 1dacb24..62b2680 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ Then in your `` element add this : Then add this tag (in your `` element too) to load your scripts : ``` -{% vite_asset '' %} +{% vite_asset '' '' %} ``` This will add a `