AccordBox / python-webpack-boilerplate

Django Webpack boilerplate & Flask Webpack boilerplate
https://python-webpack-boilerplate.rtfd.io
MIT License
169 stars 20 forks source link

`Webpack` Error During `Tailwind` Configuration #38

Closed FilipWozniak closed 1 year ago

FilipWozniak commented 1 year ago

I believe it's related to #36, and I think the issue left unresolved.

I get exactly the same error message as @Ladet02.

I've installed Wagtail with "npm command at frontend directory" setup, enabled live reloading feature and I get the following error trying to configure Tailwind:

image

image

I've checked all the steps provided here like a million times.

michael-yin commented 1 year ago

@FilipWozniak

If possible, could you please create a project and upload your code to Github

I can not figure out the problem from the above screenshot.

Thx.

FilipWozniak commented 1 year ago

If possible, could you please create a project and upload your code to Github

Sure, here it is.

https://github.com/FilipWozniak/dj-fw_blog

michael-yin commented 1 year ago

@FilipWozniak

You can try to put tailwind.config.js at the root directory, jus like this https://github.com/AccordBox/wagtail-tailwind-blog

Thx.

FilipWozniak commented 1 year ago

Thank you, it worked! I apologize for unnecessarily bothering you, but the "Python Webpack Boilerplate" website did not specify anywhere that tailwind.config.js must be in the root directory, and it was generated by default in the frontend folder. I should have thought of that 😉

image