Hi Pierre,
You probably want Bearer Tokens or JWT authentication for your API. That will allow your API to be totally separate from your Vue app.
Something like this should get you started: https://medium.com/django-rest/django-rest-framework-jwt-authentication-94bee36f2af8
Then, you don't need Vue to be inside Django at all. They shouldn't need to mix.
--
Questions so I can help better:
- Do you have a standalone Vue app that can run without Django (e.g. via `yarn start` or `yarn serve`)?
- Do you have a Django API already built that -- if you turned off authentication -- would work with the Vue app?
--
Static Vue + Django API + Authentication sounds like a fun idea for a post. Maybe I'll write one (or at least some sample code) over the next few weeks.