Skip to content

Commit c057d4b

Browse files
authored
add some known issues (#2193)
1 parent 3eb9b24 commit c057d4b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/known_issues.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ nav_order: 9
66

77
# Known issues
88

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+
930
## Issues resolved by the optional capture compatibility patch
1031
1132
If you're experiencing issues with duplicated content or malformed HTML output, the capture compatibility patch may resolve these.

0 commit comments

Comments
 (0)