Skip to content

Commit a534432

Browse files
committed
add documentation
1 parent 7a98d7b commit a534432

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ module.exports = {
6666
}
6767
```
6868

69+
### Features
70+
71+
#### Using preloaded or inlined CSS
72+
73+
The runtime code detects already added CSS via `<link>` or `<style>` tag.
74+
This can be useful when injecting CSS on server-side for Server-Side-Rendering.
75+
The `href` of the `<link>` tag has to match the URL that will be used for loading the CSS chunk.
76+
The `data-href` attribute can be used for `<link>` and `<style>` too.
77+
When inlining CSS `data-href` must be used.
78+
6979
<h2 align="center">Maintainers</h2>
7080

7181
<table>

0 commit comments

Comments
 (0)