View Source mix phx.new.web (Phoenix v1.7.0-rc.0)

Creates a new Phoenix web project within an umbrella project.

It expects the name of the OTP app as the first argument and for the command to be run inside your umbrella application's apps directory:

$ cd my_umbrella/apps
$ mix phx.new.web APP [--module MODULE] [--app APP]

This task is intended to create a bare Phoenix project without database integration, which interfaces with your greater umbrella application(s).

examples

Examples

$ mix phx.new.web hello_web

Is equivalent to:

$ mix phx.new.web hello_web --module HelloWeb

Supports the same options as the phx.new task. See Mix.Tasks.Phx.New for details.