File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,15 @@ def deps do
73
73
]
74
74
end
75
75
```
76
+ as of phoenix version 1.7 you need the following dependencies
77
+ ``` elixir
78
+ def deps do
79
+ [
80
+ {:phoenix_view , " ~> 2.0.2" },
81
+ {:kaffy , " ~> 0.9.2" }
82
+ ]
83
+ end
84
+ ```
76
85
77
86
#### These are the minimum configurations required
78
87
@@ -112,6 +121,16 @@ pipeline :kaffy_browser do
112
121
plug :put_secure_browser_headers
113
122
end
114
123
```
124
+ ### Phoenix version 1.7
125
+ Note that if you use Phoenix version 1.7 you also need to manually add the use of phoenix views in your project.
126
+ Follow the instructions at https://hexdocs.pm/phoenix_view/Phoenix.View.html
127
+
128
+ You will also need to change ` helpers: false ` to ` true ` as shown in example below.
129
+ ``` elixir
130
+ def router do
131
+ quote do
132
+ use Phoenix .Router , helpers: true
133
+ ```
115
134
116
135
## Customizations
117
136
You can’t perform that action at this time.
0 commit comments