# django\_vite for production

**URL:** <https://forum.djangoproject.com/t/django-vite-for-production/30387>\
**Category:** Deployment\
**Created:** [April 21, 2024, 3:43pm UTC](https://forum.djangoproject.com/t/django-vite-for-production/30387 "2024-04-21T15:43:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjanesh](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/anjanesh/32/4583_2.png) [@anjanesh](https://forum.djangoproject.com/u/anjanesh)\
**Post date:** [April 21, 2024, 3:43pm UTC](https://forum.djangoproject.com/t/django-vite-for-production/30387/1 "2024-04-21T15:43:29Z")

</div>

I came across [this article](https://medium.com/@m.moshek/streaming-llm-output-with-django-react-and-langchain-tutorial-2963275b4f9c) and am looking for a solution on how to build it using django\_vite.

My searched ended at [GitHub - MrBin99/django-vite: Integration of ViteJS in a Django project.](https://github.com/MrBin99/django-vite) but couldn’t get it to work.

Is there a one-stop tutorial on how do go about building vite for production (with React) ?

---

<div class="post-metadata">

**Author:** ![joshthomas](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/joshthomas/32/20764_2.png) [@joshthomas](https://forum.djangoproject.com/u/joshthomas)\
**Post date:** [April 21, 2024, 5:27pm UTC](https://forum.djangoproject.com/t/django-vite-for-production/30387/2 "2024-04-21T17:27:50Z")

</div>

It’s not an in depth tutorial, but I have a template that uses it. Pretty sure it’s still using the old config style (on my phone atm, so it’s a bit hard to lookup).

Hopefully it can be of some use.

[https://github.com/westerveltco/django-twc-project/tree/main/examples/with\_vite](https://github.com/westerveltco/django-twc-project/tree/4d4489a9a8627bab688baf3bb16aa4e9f6740ab7/examples/with_vite)

---

<div class="post-metadata">

**Author:** ![anjanesh](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/anjanesh/32/4583_2.png) [@anjanesh](https://forum.djangoproject.com/u/anjanesh)\
**Post date:** [April 23, 2024, 2:29am UTC](https://forum.djangoproject.com/t/django-vite-for-production/30387/3 "2024-04-23T02:29:06Z")

</div>

Is this better ? [GitHub - Louxsdon/django-breeze: Django Breeze provides a minimal and simple starting point for building a Django application with Inertia and Vite with minimal or no configuration. Styled with Tailwind CSS.](https://github.com/Louxsdon/django-breeze)
