mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
docs: use code groups for install commands in module guide (#28094)
This commit is contained in:
parent
92f2039f7b
commit
0d39bbf65c
@ -13,10 +13,25 @@ With modules, you can encapsulate, properly test, and share custom solutions as
|
|||||||
|
|
||||||
We recommend you get started with Nuxt Modules using our [starter template](https://github.com/nuxt/starter/tree/module):
|
We recommend you get started with Nuxt Modules using our [starter template](https://github.com/nuxt/starter/tree/module):
|
||||||
|
|
||||||
```bash [Terminal]
|
::code-group
|
||||||
|
|
||||||
|
```bash [npm]
|
||||||
npx nuxi init -t module my-module
|
npx nuxi init -t module my-module
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash [yarn]
|
||||||
|
yarn dlx nuxi init -t module my-module
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash [pnpm]
|
||||||
|
pnpm dlx nuxi init -t module my-module
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash [bun]
|
||||||
|
bunx nuxi init -t module my-module
|
||||||
|
```
|
||||||
|
::
|
||||||
|
|
||||||
This will create a `my-module` project with all the boilerplate necessary to develop and publish your module.
|
This will create a `my-module` project with all the boilerplate necessary to develop and publish your module.
|
||||||
|
|
||||||
**Next steps:**
|
**Next steps:**
|
||||||
|
Loading…
Reference in New Issue
Block a user