improved nutrition input
This commit is contained in:
@@ -49,3 +49,8 @@ VITE_USE_DEV_SERVER=false tasksnest/bin/python main/manage.py collectstatic
|
|||||||
CSS URLs. Build before `collectstatic`; do not commit `node_modules` or the
|
CSS URLs. Build before `collectstatic`; do not commit `node_modules` or the
|
||||||
compiled `dist` output unless your deployment intentionally stores built assets
|
compiled `dist` output unless your deployment intentionally stores built assets
|
||||||
in source control.
|
in source control.
|
||||||
|
|
||||||
|
WhiteNoise serves the collected files when `DJANGO_DEBUG=false`. Restart the
|
||||||
|
Django process after `collectstatic` so it discovers the new files. The public
|
||||||
|
`/static/` URLs should return CSS and JavaScript with the correct content types;
|
||||||
|
Vite's development server is not needed in production.
|
||||||
|
|||||||
Reference in New Issue
Block a user