Django Breeze provides a minimal and simple starting point for building a Django application with Inertia.js Styled with Tailwind CSS.
Project description
DJANGO BREEZE
Introduction
Django Breeze provides a minimal and simple starting point for building a Django application with Vite
and . Styled with Tailwind, Breeze publishes authentication controllers and views to your application that can be easily customized based on your own application's needs.
Django Breeze is powered by Vite and Tailwind.
Installation
Install the following python package via pip
pip install django-breeze
Add the django_breeze app to your INSTALLED_APPS
in settings.py
INSTALLED_APPS = [
# installed apps,
'django_breeze',
#........
]
Add the Inertia middleware to your MIDDLEWARE
in settings.py
MIDDLEWARE = [
# django middleware,
'django_breeze.middleware.InertiaMiddleware',
# your project's middleware,
]
Generate Project Files
React
python3 -m django_breeze react
Vue 3
python3 -m django_breeze vue
Install node packages
To install node packages for the frontend
npm install
OR use yarn
yarn
Start Servers
Run the following to start your development servers
python manage.py runserver
npm run dev
Now you're all set!
Official Inertia Documentation
Documentation for Inertia can be found on the Intertia website.
License
Laravel Breeze is open-sourced software licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_breeze-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99d9273bfb8bd680761ff5bcdac88ee02b22c271e7989d42f7a23e4b39643179 |
|
MD5 | 82fb686db90308984a0c1c20eefd8dce |
|
BLAKE2b-256 | 22f4bac30f513f7d5ac8c0e1d4bd0a425960a5c48e88fd205096274732700462 |