Update Readme (#83)
- Updates version in installation instructions - Adds `lexs` extension to the live reload and formatter configs
This commit is contained in:
parent
edb023fd9a
commit
3d620c7b07
1 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ Add `temple` to your list of dependencies in `mix.exs`:
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
def deps do
|
def deps do
|
||||||
[{:temple, "~> 0.6.0-alpha.0"}]
|
[{:temple, "~> 0.6.0-alpha.1"}]
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -73,8 +73,8 @@ config :phoenix, :template_engines,
|
||||||
config :your_app, YourAppWeb.Endpoint,
|
config :your_app, YourAppWeb.Endpoint,
|
||||||
live_reload: [
|
live_reload: [
|
||||||
patterns: [
|
patterns: [
|
||||||
~r"lib/myapp_web/(live|views)/.*(ex|exs)$",
|
~r"lib/myapp_web/(live|views)/.*(ex|exs|lexs)$",
|
||||||
~r"lib/myapp_web/templates/.*(eex|exs)$"
|
~r"lib/myapp_web/templates/.*(eex|exs|lexs)$"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
@ -137,6 +137,6 @@ To include Temple's formatter configuration, add `:temple` to your `.formatter.e
|
||||||
```elixir
|
```elixir
|
||||||
[
|
[
|
||||||
import_deps: [:temple],
|
import_deps: [:temple],
|
||||||
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
|
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs,lexs}"],
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
Reference in a new issue