Skip to content

Commit

Permalink
Indicate how to import fonts (#3676)
Browse files Browse the repository at this point in the history
Got this fix from issue #2302. Libraries like `font-awesome` are pretty common. Indicating how to get them to work should be indicated in the `README.md` (if not added to the example)
  • Loading branch information
timhuff authored and timneutkens committed Feb 5, 2018
1 parent 863d4d3 commit 31b8e7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/with-global-stylesheet/README.md
Expand Up @@ -60,3 +60,7 @@ This project shows how you can set it up. Have a look at:

Please, report any issue on enhancement related to this example to its original
github repository https://github.com/davibe/next.js-css-global-style-test

## If your stylesheets import fonts

Install `postcss-url` and insert `require('postcss-url')({ url: 'inline' })` as the 2nd element of the `plugins` array in `postcss.config.js`.

0 comments on commit 31b8e7e

Please sign in to comment.