Re:Using VueJS Alongside Django
by evv555 on Tuesday April 14, 2020 @09:02PM
(#22873331)
>I think what puts most people off is the default requirement to go all-in and create an SPA with global state management and client-side managed routing, but this isn't actually necessary.
There's also the benefit of being able to lean on Django patterns for sessions.
Re:Using VueJS Alongside Django
by rojoca on Tuesday April 14, 2020 @10:15PM
(#22873762)
Since inertia runs in the same session context as your django app you can use django sessions as you would in a standard django app - in fact this is the goal of inertia. This even works with a django rest framework API
There's also the benefit of being able to lean on Django patterns for sessions.