-
What's the recommended way to update the theme and the npm dependencies? I usually do this from the terminal:
Is this the best way? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
razonyang
Mar 28, 2024
Replies: 1 comment
-
This theme doesn't use NPM to manage dependencies except the build tools. In general, update the modules is good enough. hugo mod get -u ./... && hugo mod tidy You can update the NPM build tools monthly or even longer. npm update But it depends, if you rely on other non-HB modules, please refer to their docs. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LITUATUI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This theme doesn't use NPM to manage dependencies except the build tools. In general, update the modules is good enough.
hugo mod get -u ./... && hugo mod tidy
You can update the NPM build tools monthly or even longer.
But it depends, if you rely on other non-HB modules, please refer to their docs.