phoenix_extra_generators v0.1.0 mix phx.gen.view View Source

Generates a Phoenix view.

mix phx.gen.view Pages

Accepts the module name for the view

The generated files will contain:

For a regular application:

  • a view in lib/my_app_web/views

For an umbrella application:

  • a view in apps/my_app_web/lib/app_name_web/views