Packages

Project repository template to set up all public Phoenix projects at Nimble

Retired package: Renamed - Rename to nimble_template

Current section

Files

Jump to
nimble_phx_gen_template lib nimble.phx.gen.template variants web template.ex
Raw

lib/nimble.phx.gen.template/variants/web/template.ex

defmodule Nimble.Phx.Gen.Template.Web.Template do
alias Nimble.Phx.Gen.Template.Addons.Web
alias Nimble.Phx.Gen.Template.Project
def apply(%Project{} = project) do
project
|> Web.Assets.apply()
|> Web.CoreJS.apply()
|> Web.Sobelow.apply()
|> Web.Wallaby.apply()
project
end
end