Skip to content

Commit 69899cc

Browse files
authored
Update README.md
1 parent b06f1b4 commit 69899cc

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,14 @@ module.exports = {
2929
};
3030
```
3131

32-
After `webpack.config.js` has been changed, in js files (for example, in `main.js`), you can import a file with the `.hmpl` extension and receive a [template function](https://hmpl-lang.dev/hmpl.html#compile) in response.
32+
After `webpack.config.js` has been changed, in js files (for example, in `main.js`), you can import a file with the `.hmpl` extension and receive a [template function](https://spec.hmpl-lang.dev/#template-function) in response.
3333

3434
### main.hmpl
3535

3636
```hmpl
3737
<div>
38-
{
39-
{
40-
"src":"/api/test"
41-
}
42-
}
38+
{{#request src="/api/test"}}
39+
{{/request}}
4340
</div>
4441
```
4542

@@ -76,7 +73,7 @@ module.exports = {
7673
};
7774
```
7875

79-
The list of options is described in the documentation [here](https://hmpl-lang.dev/hmpl.html#options).
76+
The list of options is described in the documentation [here](https://spec.hmpl-lang.dev/#options).
8077

8178
## Changelog
8279

0 commit comments

Comments
 (0)