Current section

Files

Jump to
phx_new templates phx_umbrella apps app_name config config.exs
Raw

templates/phx_umbrella/apps/app_name/config/config.exs

# Since configuration is shared in umbrella projects, this file
# should only configure the :<%= app_name %> application itself
# and only for organization purposes. All other config goes to
# the umbrella root.
use Mix.Config<%= if namespaced? || ecto do %>
config :<%= app_name %><%= if namespaced? do %>,
namespace: <%= app_module %><% end %><%= if ecto do %>,
ecto_repos: [<%= app_module %>.Repo]<% end %><% end %>
import_config "#{Mix.env()}.exs"