diff --git a/doc/reference/tags.md b/doc/reference/tags.md index 01aa73ce..f0be5bae 100644 --- a/doc/reference/tags.md +++ b/doc/reference/tags.md @@ -62,14 +62,14 @@ The CSS tag is useful to define a css stylesheet in the javascript file: ```js class MyComponent extends Component { - static template = xml` + static template = xml`
some template
`; - static css` - .my-component { - color: red; - } - `; + static style = css` + .my-component { + color: red; + } + `; } ```