You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,13 @@ def view() do
75
75
end
76
76
```
77
77
78
+
### JSON library selection
79
+
80
+
ExCSSModules needs to parse JSON files in order to read the mappings between the base classe names and the autogenerated
81
+
ones. You can specify which JSON parsing library you wish to use through the `:json_library` config option. If your
82
+
project uses Phoenix, it is recommended to use the same library for both Phoenix and ExCSSModules. ExCSSModules uses
83
+
[Poison](https://hex.pm/packages/poison) by default.
84
+
78
85
### ExCell
79
86
ExCSSModules works perfectly with [ExCell](https://github.com/DefactoSoftware/ex_cell). By adding the following to your `web.ex` definition for cells you can automatically add the stylesheet in the same directory as your ExCell Cell:
0 commit comments