Create View

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

Parameters

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.

Flags

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

Examples

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