Skip to content

Commit 61f8f92

Browse files
committed
Add note on styling in Next.js and Vite
1 parent aac6da6 commit 61f8f92

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
@@ -69,6 +69,10 @@ If you don't want to use default React-DateTime-Picker, React-Calendar, and Reac
6969

7070
Styles loaded by the default entry file are `react-datetime-picker/dist/DateTimePicker.css`, `react-calendar/dist/Calendar.css`, and `react-clock/dist/Clock.css`. You can copy them to your project to build your own upon them.
7171

72+
### Next.js and Vite
73+
74+
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.
75+
7276
## User guide
7377

7478
### DateTimePicker

0 commit comments

Comments
 (0)