Update README for DDEV npm
This commit is contained in:
parent
56f5eafbce
commit
2b6e193c87
1 changed files with 10 additions and 3 deletions
|
@ -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._
|
||||
|
|
Loading…
Add table
Reference in a new issue