Commands
generate
Generate new Zopio modules and components
generate Command
The generate
command creates new modules, components, and other code artifacts for your zopio
project.
Usage
Arguments
type
- Type of module to generate (core | addon | data | i18n)name
- Name of the module
Options
-d, --directory <directory>
- Custom directory for the module
Examples
Module Types
core
Core modules contain essential functionality for your application.
Generated structure:
addon
Addon modules extend your application with additional features.
Generated structure:
data
Data modules handle data fetching, state management, and API interactions.
Generated structure:
i18n
Internationalization modules manage translations and localized content.
Generated structure: