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: docs/known_issues.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,27 @@ nav_order: 9
6
6
7
7
# Known issues
8
8
9
+
_There remain several known issues with ViewComponent. We'd be thrilled to see you consider solutions to these thorny bugs!_
10
+
11
+
## Limited i18n support
12
+
13
+
ViewComponent currently only supports sidecar translation files. In some cases, it could be useful to support centralized translations using namespacing:
14
+
15
+
```yml
16
+
en:
17
+
view_components:
18
+
login_form:
19
+
submit: "Log in"
20
+
nav:
21
+
user_info:
22
+
login: "Log in"
23
+
logout: "Log out"
24
+
```
25
+
26
+
## Lack of Jekyll support
27
+
28
+
It would be lovely if we could support rendering ViewComponents in Jekyll, as it would enable the reuse of ViewComponents across static and dynamic (Rails-based) sites.
29
+
9
30
## Issues resolved by the optional capture compatibility patch
10
31
11
32
If you're experiencing issues with duplicated content or malformed HTML output, the capture compatibility patch may resolve these.
0 commit comments