Skip to content

Commit c3ee92c

Browse files
committed
config django static loader
1 parent 88e2f0e commit c3ee92c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

my_project/my_project/settings.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,8 @@
119119
# https://docs.djangoproject.com/en/1.10/howto/static-files/
120120

121121
STATIC_URL = '/static/'
122+
123+
# Add for vuejs
124+
STATICFILES_DIRS = [
125+
os.path.join(BASE_DIR, "frontend/dist/static"),
126+
]

0 commit comments

Comments
 (0)