Npm2Yarn
Nextra uses
@theguild/remark-npm2yarn
package that replaces the code block that has npm2yarn
metadata with
<Tabs />
and <Tabs.Tab />
components from
nextra/components
.
The chosen tab is saved in the local storage, which will be chosen in future page renders.
Example
npm i -D @graphql-eslint/eslint-plugin
Usage
Markdown
```sh npm2yarn
npm i -D @graphql-eslint/eslint-plugin
```