We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c47e2 commit 02a3e00Copy full SHA for 02a3e00
1 file changed
README.md
@@ -46,7 +46,7 @@ posthtml: (webpack) => {
46
```
47
48
### Component options
49
-__data__: Object containing any local variables that you want to be accessible inside the include component
+__locals__: Object containing any local variables that you want to be accessible inside the include component
50
51
<h2 align="center">Usage</h2>
52
@@ -58,7 +58,7 @@ __index.html__
58
<title>index.html</title>
59
</head>
60
<body>
61
- <include src="components/button.html" data='{
+ <include src="components/button.html" locals='{
62
"text": "Button"
63
}'></include>
64
</body>
0 commit comments