0👍
✅
You must configure it manually
Make sure at the top of index.html must have :
{% load static %}
then all links looks like:
<script src="{% static "app.d34dcca9.js" %}"></script>
same as css files or images.
0👍
You can also solve this problem with the following settings vue.config.js
:
module.exports = {
assetsDir: 'static',
- [Django]-TypeError: add() argument after * must be a sequence, not Subscribers
- [Django]-How to customize pickle for django model objects
- [Django]-Urls.py redirect with URL reversal and parameters — is there any easier way?
- [Django]-Google OAUTH gives 502 error
- [Django]-How can i create Generated/Computed column Postgres/DJANGO?
Source:stackexchange.com