CSS tilde import example in `README.md` outdated
KeithGillette opened this issue · 3 comments
KeithGillette commented
Step 2 of the How to Use section of the README.md
specifies adding styles to styles.scss
with the following code:
@import "~@danielmoncada/angular-datetime-picker/assets/style/picker.min.css";
However, tilde imports have been deprecated since Angular 13 and support has been removed entirely in Angular 15.
nitinchotia2014 commented
@KeithGillette I am facing the same issue with Angular 15 because of which the styling for the picker is not working.
@danielmoncada can we please get a solution for this?
danielmoncada commented
Can you not just use a direct path to the node_modules
folder instead of using the tilde?
@import "./node_modules/@danielmoncada/angular-datetime-picker/assets/style/picker.min.css";
KeithGillette commented
@danielmoncada — you don't even need the ./node_modules
in the path. The import path just shouldn't have a tilde in it anymore, so the example in README.md
should be updated to:
https://www.linkedin.com/company/universal-e-business-solutions/