Skip to content

Commit 32b7a6a

Browse files
committed
Add note on styling in Next.js and Vite
1 parent 2e60fd8 commit 32b7a6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ If you don't want to use default React-Date-Picker and React-Calendar styles, yo
7070

7171
Styles loaded by the default entry file are `react-date-picker/dist/DatePicker.css` and `react-calendar/dist/Calendar.css`. You can copy them to your project to build your own upon them.
7272

73+
### Next.js and Vite
74+
75+
Next.js and Vite do not allow components from `node_modules` to import styles. You'll need to follow instructions from [Custom styling](#custom-styling) to get going.
76+
7377
## User guide
7478

7579
### DatePicker

0 commit comments

Comments
 (0)