[Fixed]-How to load angular2 files to Django template?

1👍

You have nested single quotes and your file name is main.js not main, you need also to remove the first /. Let me know if the following line of code solves your issue:

System.import("{% static 'app/main.js' %}")

Leave a comment