Create View

apex create view <PKG_ALIAS> <URI> [--route=]
Create a new view.


Parameter Description
pkg_alias Package alias to register the view to.
uri The URI of the new view, as will be viewed within the web browser and placed relative to the /views/html/ directory.


Flag Description
--route Optional route and if specified will add a new route to the /boot/routes.yml file.


  • ./apex create view my-shop admin/products/add