You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If static assets are located inside the component that I include using include inside block 'content', then when changing and live reloading, my images return 404. At the same time, other assets that are outside the include (but inside the block, for example header.njk) work correctly .
I am attaching a repository with this issue.
To reproduce it, install all npm i dependencies, so npm run dev. You will see the hero slider, make any change in the source code and after a quick reload, the images from hero will disappear, but the logo image will remain.
Edit. I just found that it fixes if I manually resave the njk template
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment
Node version: 18.14.2
simple-nunjucks-loader version: 3.2.0
webpack version: 5.79.0
If static assets are located inside the component that I include using include inside block 'content', then when changing and live reloading, my images return 404. At the same time, other assets that are outside the include (but inside the block, for example header.njk) work correctly .
I am attaching a repository with this issue.
To reproduce it, install all npm i dependencies, so npm run dev. You will see the hero slider, make any change in the source code and after a quick reload, the images from hero will disappear, but the logo image will remain.
Edit. I just found that it fixes if I manually resave the njk template
https://github.com/Poylar/nunjucks-tailwindcss-starter
The text was updated successfully, but these errors were encountered: