Skip to content

Create Bean

We can create Bean Class through Cli command or menu command

Example: Create Service Bean

Create a Service Bean Role in module home-index

1. Cli command

bash
$ vona :create:bean service role --module=home-index

2. Menu command

TIP

Context menu - [Module Path]: Vona Create/Service

Example: Create global Bean

Create a global Bean Test in module home-index

1. Cli command

bash
$ vona :create:bean bean test --module=home-index

2. Menu command

TIP

Context menu - [Module Path]: Vona Bean/Global

Released under the MIT License.