diff --git a/server/server/settings.py b/server/server/settings.py index 8ef3c8a..b67a84b 100644 --- a/server/server/settings.py +++ b/server/server/settings.py @@ -67,7 +67,7 @@ ROOT_URLCONF = 'server.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': ['dist'], + 'DIRS': ['vuedist'], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ @@ -129,6 +129,9 @@ CORS_ORIGIN_ALLOW_ALL = True STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static') +STATICFILES_DIRS = ( + os.path.join(BASE_DIR, 'vuedist/static'), +) MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media')