I am trying to implement owlDateTime in my angular2+ (or rather angular4) code. I have taken its reference from - https://danielykpan.github.io/date-time-picker/
[And i
Ok so, from the message it looks like there can be two possible problems. 1. You didn't install it correctly, or didn't import the modules. 2. You are using inputs from different version than the version you are using.
So: Did you go through the How to Use section here? The first three steps are important for the fourth step to work.
EDIT based on your edit:
"styles": [
"scss/style.scss",
"~ng-pick-datetime/assets/style/picker.min.css"
],
should be as it was:
"styles": [
"scss/style.scss",
],
There is a file in your project structure, right near the index.html and main.ts, called style.css or style.scss. You should put the @import "~ng-pick-datetime/assets/style/picker.min.css";
there, near the top of the file.
And, did you do this?
Install with npm:
npm install ng-pick-datetime --save