Update README for DDEV npm

This commit is contained in:
benjamin melançon 2025-03-28 15:37:34 -04:00
parent 56f5eafbce
commit 2b6e193c87

View file

@ -45,12 +45,19 @@ Autoprefixer & Babel is set to support:
These can be updated at any time within the `package.json`.
### Run the following commands from the theme directory
If you haven't yet, install nvm:
https://github.com/creationix/nvm
### Run the following command from the theme directory
`ddev npm install`
### Alternat non-DDEV
Run the following command from the theme directory (that's the folder where this README is).
#### Use the right version of node with:
If you haven't yet, install nvm:
https://github.com/creationix/nvm
`nvm use`
_This command will look at your `.nvmrc` file and use the version node.js specified in it. This ensures all developers use the same version of node for consistency._