-
-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught SyntaxError: Unexpected token . #108
Comments
Relative Solutions. |
This is not a valid patch. On SSR, there should be CSS loaded as well. Otherwise you will get a flash of unstyled content or the page will be broken if the user disables JS. You should configure your Webpack properly to load CSS files, or opt-out from loading the default styles by using |
thanks for your anwser!! |
To anyone who wants to import the calendar with style and is still having issues, this is what you need to do: jestjs/jest#3094 |
When "Server Side Rendering", it is not loaded due to the "Calendar.cs" file in "entry.js".
And I'm going to do this. However, it requires patches.
if(typeof window === 'object' && window){ require('./Calendar.css'); }
The message below shows my error.
(function (exports, require, module, __filename, __dirname) { .react-calendar {
The text was updated successfully, but these errors were encountered: