1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

remove glamorous example since its no longer maintained (#5738)

Since glamorous is [no longer maintained](https://github.com/paypal/glamorous#status-unmaintained) removing it from readme.
This commit is contained in:
Hozefa 2018-11-23 12:18:13 -08:00 committed by Tim Neutkens
parent 7076727d3e
commit 401594ed36
2 changed files with 11 additions and 10 deletions

View file

@ -4,6 +4,8 @@
## How to use
> Glamorous is no longer maintained. Choose styled-components or emotion instead
### Using `create-next-app`
Execute [`create-next-app`](https://github.com/segmentio/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example:

View file

@ -190,7 +190,6 @@ Please see the [styled-jsx documentation](https://www.npmjs.com/package/styled-j
<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>
<li><a href="/examples/with-glamorous">Glamorous</a></li>
<li><a href="/examples/with-cxs">Cxs</a></li>
<li><a href="/examples/with-aphrodite">Aphrodite</a></li>
<li><a href="/examples/with-fela">Fela</a></li>
@ -1088,7 +1087,7 @@ export default class MyApp extends App {
- Is rendered on the server side
- Is used to change the initial server side rendered document markup
- Commonly used to implement server side rendering for css-in-js libraries like [styled-components](/examples/with-styled-components), [glamorous](/examples/with-glamorous) or [emotion](/examples/with-emotion). [styled-jsx](https://github.com/zeit/styled-jsx) is included with Next.js by default.
- Commonly used to implement server side rendering for css-in-js libraries like [styled-components](/examples/with-styled-components) or [emotion](/examples/with-emotion). [styled-jsx](https://github.com/zeit/styled-jsx) is included with Next.js by default.
Pages in `Next.js` skip the definition of the surrounding document's markup. For example, you never include `<html>`, `<body>`, etc. To override that default behavior, you must create a file at `./pages/_document.js`, where you can extend the `Document` class: