Skip to content

Commit 04156fe

Browse files
authored
Update README.md
1 parent 6817bee commit 04156fe

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,18 @@ However, Vercel does not support private Git Submodules for now. There have been
2828

2929
## 📦 Installation and Usage
3030

31-
```
32-
yarn add -D vercel-submodules
33-
```
34-
35-
Go to the [**Build & Development Settings** section](https://vercel.com/docs/concepts/deployments/configure-a-build#build-and-development-settings) and override **Install Command** with `vercel-submodules --all && (...)`. Such as `vercel-submodules --all && yarn install`.
31+
Go to the [**Build & Development Settings** section](https://vercel.com/docs/concepts/deployments/configure-a-build#build-and-development-settings) and override **Install Command** with `npx vercel-submodules --all && (...)`. Such as `npx vercel-submodules --all && yarn install`.
3632

3733
Once configured, `vercel-submodules` take care of everything. It detects the indicated commit hashes with all or configured submodules; you don't have to update anything again!
3834

3935
[![Usage information for `vercel-submodules`](https://raw.githubusercontent.com/junhoyeo/vercel-submodules/main/docs/images/usage-information.jpg?v=2)](https://www.npmjs.com/package/vercel-submodules)
4036

37+
You can also add the package to your `package.json` if needed:
38+
39+
```
40+
yarn add -D vercel-submodules
41+
```
42+
4143
## Clone all Submodules
4244

4345
```

0 commit comments

Comments
 (0)