gaoqiang1112 / vue-calendar-swiper

5 stars 6 forks source link

使用npm安装vue-calendar-swiper报错 #1

Open Holihigh opened 5 years ago

Holihigh commented 5 years ago

[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src/views/Test.vue

at src/App.vue ![image](https://user-images.githubusercontent.com/14231869/60382868-bd6a9d00-9a9b-11e9-8c03-7815bb29bc2c.png) 求解,感谢
gaoqiang1112 commented 4 years ago

import VueCalendarSwiper from '../dist/vue-calendar-swiper.min.js' Vue.use(VueCalendarSwiper) 直接从源码引入呢?

gaoqiang1112 commented 4 years ago

[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at src/views/Test.vue at src/App.vue

image 求解,感谢

import VueCalendarSwiper from '../dist/vue-calendar-swiper.min.js' Vue.use(VueCalendarSwiper)