Packages

Component-based HTML templates for Elixir/Phoenix, inspired by Vue.

Current section

Files

Jump to
x_component config config.exs
Raw

config/config.exs

use Mix.Config
config :x_component,
compile_inline: true,
json_library: Jason,
root_path: "tmp",
root_module: "X.Components",
generator_template: """
use X.Template
"""
if Mix.env() == :test do
config :phoenix, :json_library, Jason
end