Multi-page web application using django react and webpack

In this tutorial we will create a multipage web application using django, react and webpack.

This means:

  • Instead of handling routes by react, django will handle all the routes and once a route has been loaded, its upto you whether you want react to create different routes for that particular page or not.
  • Webpack will handle all the staticfiles headache i.e., all the optimizing stuff such as compressing and minifying.
  • Static files bundled by webpack will be served by django.

Let’s start

Repository: https://github.com/nitinraturi/django-react-webpack

Read full article here:

https://raturi.in/blog/multi-page-web-application-using-django-react-and-webpack/