Commit d3cf72cd authored by Dan Zajdband's avatar Dan Zajdband Committed by Naoyuki Kanezawa

Update README.md (#499)

parent fb3612a9
...@@ -62,10 +62,10 @@ export default () => ( ...@@ -62,10 +62,10 @@ export default () => (
#### Built-in CSS support #### Built-in CSS support
<details> <p><details>
<summary><b>Examples</b></summary> <summary><b>Examples</b></summary>
- [Basic css](./examples/basic-css) <ul><li><a href="./examples/basic-css">Basic css</a></li></ul>
</details> </details></p>
We bundle [styled-jsx](https://github.com/zeit/styled-jsx) to provide support for isolated scoped CSS. The aim is to support "shadow CSS" resembling of Web Components, which unfortunately [do not support server-rendering and are JS-only](https://github.com/w3c/webcomponents/issues/71). We bundle [styled-jsx](https://github.com/zeit/styled-jsx) to provide support for isolated scoped CSS. The aim is to support "shadow CSS" resembling of Web Components, which unfortunately [do not support server-rendering and are JS-only](https://github.com/w3c/webcomponents/issues/71).
...@@ -95,11 +95,7 @@ export default () => ( ...@@ -95,11 +95,7 @@ export default () => (
<p><details> <p><details>
<summary><b>Examples</b></summary> <summary><b>Examples</b></summary>
<ul> <ul><li><a href="./examples/with-styled-components">Styled components</a></li><li><a href="./examples/with-styletron">Styletron</a></li><li><a href="./examples/with-glamor">Glamor</a></li></ul>
<li><a href="./examples/with-styled-components">Styled components</a></li>
<li><a href="./examples/with-styletron">Styletron</a></li>
<li><a href="./examples/with-glamor">Glamor</a></li>
</ul>
</details></p> </details></p>
It's possible to use any existing CSS-in-JS solution. The simplest one is inline styles: It's possible to use any existing CSS-in-JS solution. The simplest one is inline styles:
...@@ -124,10 +120,10 @@ export default () => ( ...@@ -124,10 +120,10 @@ export default () => (
### Populating `<head>` ### Populating `<head>`
<details> <p><details>
<summary><b>Examples</b></summary> <summary><b>Examples</b></summary>
- [Head elements](./examples/head-elements) <ul><li><a href="./examples/head-elements">Head elements</a></li></ul>
</details> </details></p>
We expose a built-in component for appending elements to the `<head>` of the page. We expose a built-in component for appending elements to the `<head>` of the page.
...@@ -186,13 +182,13 @@ For the initial page load, `getInitialProps` will execute on the server only. `g ...@@ -186,13 +182,13 @@ For the initial page load, `getInitialProps` will execute on the server only. `g
### Routing ### Routing
#### With `<Link>`
<p><details> <p><details>
<summary><b>Examples</b></summary> <summary><b>Examples</b></summary>
<ul><li><a href="./examples/using-routing">Basic routing</a></li></ul> <ul><li><a href="./examples/using-routing">Basic routing</a></li></ul>
</details></p> </details></p>
#### With `<Link>`
Client-side transitions between routes can be enabled via a `<Link>` component. Consider these two pages: Client-side transitions between routes can be enabled via a `<Link>` component. Consider these two pages:
```jsx ```jsx
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment