nhn / tui.calendar

🍞📅A JavaScript calendar that has everything you need.
http://ui.toast.com/tui-calendar
MIT License
12.03k stars 1.3k forks source link

Stylesheet only loads if I manually install tui-calendar #1173

Closed amanda-natallie closed 2 years ago

amanda-natallie commented 2 years ago

Version

2.0.0-beta.0

Test Environment

Linux Ubuntu, React JS app

Current Behavior

after @toast-ui/react-calendar following the docs and importing the css file on my component, I get this error: image

I was able to fix it by manually adding the tui-calendar package

npm install --save tui-calendar 

Expected Behavior

I should be able to import the correct css file without having to install any other packages manually

adhrinae commented 2 years ago

If you upgraded the package version in your project, you need to change the CSS import statement following this instruction.