|
VueJs сторонние компоненты
|
|||
---|---|---|---|
#18+
Пытаюсь подключить сторонний компонент VueJs. A simple and sweet vue.js calendar Код: javascript 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14.
При запуске ошибка: TS7016: Could not find a declaration file for module 'vue-sweet-calendar'. 'xxx\node_modules\vue-sweet-calendar\dist\SweetCalendar.umd.min.js' implicitly has an 'any' type. Если регистрировать как Код: javascript 1. 2. 3. 4. 5.
Все равно ошибка: [Vue warn]: Unknown custom element: <sweet-calendar> — did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <CalendarComponent> at ClientApp/components/calendar/calendar.vue.html Нужен vue-sweet-calendar.d.ts? Но где его тогда брать? Для сторонних компонентов не нахожу я этих файлов. Солюшен создавал из vuets Или как какой-нибудь другой vuejs календарь прикрутить на страницу? ... |
|||
:
Нравится:
Не нравится:
|
|||
14.05.2019, 22:11 |
|
|
start [/forum/topic.php?fid=18&tid=1355003]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
130ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
40ms |
get tp. blocked users: |
2ms |
others: | 253ms |
total: | 473ms |
0 / 0 |