[Vuejs]-Django + Vite + Vue with Router does not work

0👍

This can be resolved in following 2 ways:

  1. Using type="module" in Django template dynamic script calling section.
  2. Changing store.js to declare store and then export it as default.
  3. Using any dynamic imports via defineAsyncComponent()

Working code is updated here.

Leave a comment