Error occurred while trying to proxy #4324
-
Hi all, I've used this great project several times before, and now it's the first time I'm developing a django project on Windows (always Linux before) and also first time with webpack. I've just started with the fresh project and have difficulties getting the webpack part running. The documentation states here that I can just run This is the output of
This looks good to me, but when I try to access
I can run My question: How can |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Addition: If I change the proxy entry in proxy: {
// '/': 'http://django:8000',
'/': 'http://localhost:8000'
}, and start |
Beta Was this translation helpful? Give feedback.
Just run
npm run dev
in another terminal alongsidepython manage.py runserver
. With the addition you made inwebpack/dev.config.js
this should work and is the way to go.