I am trying to use DayPilot with Ionic framework using WebStorm IDE.
Even if I copy-paste Dan's code to "app.html" from here https://forums.daypilot.org/Topic.aspx/3170/directive-not-working , I receive the following error (in the browser console):
polyfills.js:3 Unhandled Promise rejection: Template parse errors:
'daypilot-calendar' is not a known element:
1. If 'daypilot-calendar' is an Angular component, then verify that it is part of this module.
2. If 'daypilot-calendar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
I don't know how else I can define the calendar in the module, or what shall I write in "app.module.ts" to import it.
I will be thankful for any help.