Skip to content

Commit

Permalink
Apply changesets and update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 21, 2024
1 parent 814ffff commit 67cc47a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ $ yarn add nextjs-darkmode

### Import Styles

> 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 67cc47a

Please sign in to comment.