Vaahcms 1x
Generators
NOTE
YOU'RE READING AN OUTDATED DOCUMENTATION.
Latest documentation of
YOU'RE READING AN OUTDATED DOCUMENTATION.
Latest documentation of
VaahCMS 2.x
is available at: Introduction
Improve your productivity via quick command generator
Make sure you have install VaahCLI from following command:
npm i vaah -g
Use following command to generate module
:
vaah cms:m
Use following command to generate theme
:
vaah cms:t
Module Theme Routes
Type | Command | |
---|---|---|
migration | vaah cms:m-make migration<module><name> | |
seed | vaah cms:m-make seed <module> <name> | |
model | vaah cms:m-make model <module> <name> | |
controller | vaah cms:m-make controller <module> <name> | |
view | vaah cms:m-make view <module> <name> | |
middleware | vaah cms:m-make middleware <module> <name> | |
observer | vaah cms:m-make observer <module> <name> | |
trait | vaah cms:m-make trait <module> <name> | |
test | vaah cms:m-make test <module> <name> | |
event | vaah cms:m-make event <module> <name> | |
listener | vaah cms:m-make listener <module> <name> | |
vaah cms:m-make mail <module> <name> | ||
notification | vaah cms:m-make notification <module> <name> |