mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
f26a801775
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
972 B
972 B
title | description | links | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
nuxi build-module | Nuxt command to build your Nuxt module before publishing. |
|
npx nuxi build-module [--stub] [rootDir]
The build-module
command runs @nuxt/module-builder
to generate dist
directory within your rootDir
that contains the full build for your nuxt-module.
Option | Default | Description |
---|---|---|
rootDir |
. |
The root directory of the module to bundle. |
--stub |
false |
Stub out your module for development using jiti. (note: This is mainly for development purposes.) |
::read-more{to="https://github.com/nuxt/module-builder" icon="i-simple-icons-github" color="gray" target="_blank"}
Read more about @nuxt/module-builder
.
::