|
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&gotonew=1&tid=1355003]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
131ms |
get topic data: |
10ms |
get first new msg: |
5ms |
get forum data: |
2ms |
get page messages: |
38ms |
get tp. blocked users: |
2ms |
others: | 12ms |
total: | 228ms |
0 / 0 |