docs: specify npm dist tag (#155)

This commit is contained in:
Darius Cepulis
2025-11-03 14:15:07 -06:00
committed by GitHub
parent 33f1e8da4e
commit 7d5e79b8a1
3 changed files with 13 additions and 7 deletions
@@ -24,16 +24,16 @@ Video.js v10 supports both React and vanilla JavaScript/HTML through Web Compone
First, select your preferred framework in the framework selector at the top of the <span class="hidden lg:inline">sidebar</span><span class="lg:hidden">page</span>.
Then, install the appropriate package:
Then, install the appropriate package, taking care to use the `@next` dist.
<FrameworkCase frameworks={["react"]}>
```bash
npm install @videojs/react
npm install @videojs/react@next
```
</FrameworkCase>
<FrameworkCase frameworks={["html"]}>
```bash
npm install @videojs/html
npm install @videojs/html@next
```
</FrameworkCase>