-
Notifications
You must be signed in to change notification settings - Fork 39
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
don't work styles #37
Comments
same problem |
Can you please try logging console.log(require('react-persian-datepicker\lib\styles\basic.css')); |
there is an alternative with working css: |
Hi . then inside the constructor :
And finally the result of the console is empty Object : {} And in my webpack.config is like this :
thanks for your help |
@htondkar @pMonfared @mayyamak You must set the
|
@mohebifar thanks for your help . I set up the ( options ) and it works right now. But there is another problem . When click on day, the (div.tether-element)class does not close . |
Use this css file. @thg303 gathered it from the one in the repository. don't forget to fix the extension to ".css" After adding styles, you need to present the styles to the DatePicker :
then:
|
@mohebifar tnx this was a great help :) |
@mohebifar is there anyway to include the styles without setting 'modules' to true? |
|
@FareheSoheil What @asiye suggested is exactly what you would have to do if you don't want to use |
@asiye @mohebifar I did what you told , but still styles are not applied , although there are no undefined classes. Don't know what is happening :( |
i use webpack 3.4.1 : (configuration file)
when i run cmd : dev-watch
webpack getback this error :
i changed webpack config loaders ( css ) to this codes :
and webpack complie without any error
but don't show style for datepicker like this photo:
The text was updated successfully, but these errors were encountered: