Skip to content

Commit 6ebdbb9

Browse files
Jungwoo-Antimneutkens
authored andcommitted
Update next-sass/README.md for next@7+ (vercel#293)
vercel#290
1 parent ae5d61d commit 6ebdbb9

File tree

3 files changed

+0
-63
lines changed

3 files changed

+0
-63
lines changed

packages/next-less/readme.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -119,27 +119,6 @@ Your exported HTML will then reflect locally scoped CSS class names.
119119

120120
For a list of supported options, [refer to the webpack `css-loader` README](https://github.com/webpack-contrib/css-loader#options).
121121

122-
```js
123-
// ./pages/_document.js
124-
import Document, { Head, Main, NextScript } from 'next/document'
125-
126-
export default class MyDocument extends Document {
127-
render() {
128-
return (
129-
<html>
130-
<Head>
131-
<link rel="stylesheet" href="/_next/static/style.css" />
132-
</Head>
133-
<body>
134-
<Main />
135-
<NextScript />
136-
</body>
137-
</html>
138-
)
139-
}
140-
}
141-
```
142-
143122
### PostCSS plugins
144123

145124
Create a `next.config.js` in your project

packages/next-sass/readme.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -133,27 +133,6 @@ module.exports = withSass({
133133
})
134134
```
135135

136-
```js
137-
// ./pages/_document.js
138-
import Document, { Head, Main, NextScript } from 'next/document'
139-
140-
export default class MyDocument extends Document {
141-
render() {
142-
return (
143-
<html>
144-
<Head>
145-
<link rel="stylesheet" href="/_next/static/style.css" />
146-
</Head>
147-
<body>
148-
<Main />
149-
<NextScript />
150-
</body>
151-
</html>
152-
)
153-
}
154-
}
155-
```
156-
157136
### PostCSS plugins
158137

159138
Create a `next.config.js` in your project

packages/next-stylus/readme.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -132,27 +132,6 @@ module.exports = withStylus({
132132
})
133133
```
134134

135-
```js
136-
// ./pages/_document.js
137-
import Document, { Head, Main, NextScript } from 'next/document'
138-
139-
export default class MyDocument extends Document {
140-
render() {
141-
return (
142-
<html>
143-
<Head>
144-
<link rel="stylesheet" href="/_next/static/style.css">
145-
</Head>
146-
<body>
147-
<Main />
148-
<NextScript />
149-
</body>
150-
</html>
151-
)
152-
}
153-
}
154-
```
155-
156135
### PostCSS plugins
157136

158137

0 commit comments

Comments
 (0)