visma-meglerfront / sweet-modal-vue

The sweetest library to happen to modals.
Other
754 stars 86 forks source link

Unknown custom element #36

Closed M0H3N closed 7 years ago

M0H3N commented 7 years ago

I'm using single file components and sweet-modal-vue ver 1.2 and Vue.js2 . I have tried the demo example but get this error :

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

found in

---> <Index> at src\components\home.vue
       <App> at src\App.vue
         <Root>
bluefirex commented 7 years ago

Fixed in c05fb535b10cb39d2bfa17c218d198471a1e37da, released in v2.0.0