Chat with Angular and Django./ Serving angular with django.

Change the build directory outputPath for the Angular in the frontend/angular.json.

Build the proroject web.

Create a new Django app.

Inctude it into INSTALLED_APPS.

Add a new directory for the templates in

Make a new view in the web/

  "root": "projects/web",
  "sourceRoot": "projects/web/src",
  "prefix": "app",
  "architect": {
    "build": {
      "builder": "@angular-devkit/build-angular:browser",
      "options": {
        "outputPath": "../backend/static/front_dist/web",
cd frondend
ng build web
Потратить 2 кредита и начать обучение! У вас кредитов(а)
Задать вопрос, прокомментировать.