Skip to content

Instantly share code, notes, and snippets.

View sudarshan24-byte's full-sized avatar

Sudarshan Trifaley sudarshan24-byte

View GitHub Profile
@sudarshan24-byte
sudarshan24-byte / base.html
Last active May 26, 2024 03:38
Django React Integration with Vite: This GitHub gist provides a seamless integration guide for Django and React.js using Vite. Vite is leveraged as the build tool to enhance development speed and efficiency. Follow the step-by-step instructions to set up a robust development environment, enabling you to create modern, high-performance web applic…
{% load render_vite_bundle %}
<!DOCTYPE html>
<html lang="en">
<!--
For this base.html to work in dev and in production,
you'll need to set a couple of keys inside your settings.py.
Another file in this gist shows which ones you'll really need.
Note: Create this base.html file inside your django app.