From 57d5f836427a5c71b2c4cf70410e649f828758f4 Mon Sep 17 00:00:00 2001 From: Luis Alvarez D Date: Wed, 19 Feb 2020 16:30:47 -0500 Subject: [PATCH] Updated links (#10604) --- docs/basic-features/built-in-css-support.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/basic-features/built-in-css-support.md b/docs/basic-features/built-in-css-support.md index e1848b6ca8384..9953b952ea655 100644 --- a/docs/basic-features/built-in-css-support.md +++ b/docs/basic-features/built-in-css-support.md @@ -23,7 +23,7 @@ body { } ``` -Create a [`pages/_app.js` file](https://nextjs.org/docs/advanced-features/custom-app) if not already present. +Create a [`pages/_app.js` file](/docs/advanced-features/custom-app) if not already present. Then, [`import`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) the `styles.css` file. ```jsx @@ -36,7 +36,7 @@ export default function MyApp({ Component, pageProps }) { ``` These styles (`styles.css`) will apply to all pages and components in your application. -Due to the global nature of stylesheets, and to avoid conflicts, you may **only import them inside [`pages/_app.js`](https://nextjs.org/docs/advanced-features/custom-app)**. +Due to the global nature of stylesheets, and to avoid conflicts, you may **only import them inside [`pages/_app.js`](/docs/advanced-features/custom-app)**. In development, expressing stylesheets this way allows your styles to be hot reloaded as you edit them—meaning you can keep application state.