Vue integration into django, template path setting problem.

I point the template of the django setting file directly to the index file of vue-cli. Then after running django, I found that index was blank.
but after npm run build, point the template of setting to the packaged index and display it.

is there any way not to display normally after build?
it feels like I didn"t find the static file of vue before I had no build. I don"t know where to find it.
is there a better way?

Apr.07,2021

after groping, it is found that it can only be implemented after build.


I enable both locally. As long as the request in vue accesses django, data interaction can be realized

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beb117-31a53.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beb117-31a53.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?