mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
8f7a7ec06e
Co-authored-by: Pooya Parsa <pooya@pi0.io>
788 B
788 B
nuxi build-module
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.) |
::alert
This command is only available when you are using @nuxt/module-builder
to build your module. Please see this readme for more information.
::