Hey there, I’m completely new to Aurelia, and I’m trying to make it work with Django, but i’m having some trouble getting Aurelia configs right.
in Django setttings.py I’ve defined a static url and static files dir :
STATIC_URL = '/webapp/' STATICFILES_DIRS = [os.path.join(BASE_DIR, 'webapp')]
I generated my aurelia app with au new (default), then in index.html changed the vendor-bundle.js link to accommodate my static_url. I then do au build and run the server. It loads the index.html, and the vendor-bundle.js, but then the app-bundle.js it tries to load without the static_url and fails. I’ve tried to put the “baseUrl”: <static_url> in the aurelia.json, but still no success. I would like to know how to change the base path in aurelia. Thanks in advanced.