Introduction
I have probably spent a week or two looking for some "best practices" for this problem: How to set up a Webpack for multi-page apps or websites? I haven't found many resources on the internet, so I decided to dedicate a blog post to it. Hopefully, you will find this helpful. So let's start!
Project Setup
Go on and create flask-with-webpack
to try this out.
The project structure should be like this.
Written by StefanJeremic on Dec 7, 2021