mix phx.new.web (Phoenix v1.5.7) View Source

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

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.

Link to this section Summary

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.