Skip to content

Commit

Permalink
Update Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 21, 2024
1 parent 37270a9 commit 01afaec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ $ yarn add nextjs-darkmode

> PLease make sure you set `"moduleResolution"` to `"Bundler"`, `"Node16"` or `"NodeNext"` in your tsconfig file for export field in package.json to work properly. (Ref)[https://stackoverflow.com/a/74462490/23175171]
> You may need to import styles from `nextjs-darkmode/dist/index.css` depending on your bundler configuration.
Import styles globally or within layout component.

```css
Expand Down

0 comments on commit 01afaec

Please sign in to comment.