Torch v1.0.0-rc.2 Mix.Tasks.Torch.Install

Installs all the files Torch needs to run within the context of your Phoenix application. Specifically, it generates the following files:

web/templates/layout/admin.html.{format}
web/static/css/_admin_variables.scss

Parameters

  • Format: Either ‘eex’ or ‘slim’.

Example

mix torch.install eex
mix torch.install slim