Open zeroedin opened 1 year ago
Example: <some-component full-width>
<some-component full-width>
template:
<div @attributes="({bordered, full-width})"`>
Error:
[11ty] Problem writing Eleventy templates: (more in DEBUG output) [11ty] 1. Having trouble rendering webc template ./site/backpage.webc (via TemplateContentRenderError) [11ty] 2. Check the dynamic attribute: `@attributes="({bordered, full-width})"`. [11ty] Original error message: Unexpected token '-' (via Error)
Accessing via a camelCase almost seems to work but then removes the - from the output:
-
<div @attributes="({bordered, fullWidth)"`>
output:
<div fullwidth="">
Example:
<some-component full-width>
template:
Error:
Accessing via a camelCase almost seems to work but then removes the
-
from the output:template:
output: