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/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store