selecto icon indicating copy to clipboard operation
selecto copied to clipboard

[Vue warn]: Unknown custom element: <Selecto>

Open cinyipang opened this issue 3 years ago • 3 comments

Environments

  • Framework name: Vue
  • Framework version: 2.x

Description

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

cinyipang avatar Jan 15 '21 02:01 cinyipang

@cinyipang vue-selecto 1.10.3 is released. Try it again.

daybrush avatar Jan 31 '21 16:01 daybrush

@daybrush I'm getting this error in the latest version. I even tried installing v1.10.3, but still had the same problem.

gillisig avatar Apr 16 '21 19:04 gillisig

I noticed in the Storybook examples the package is being imported like:

import { VueSelecto } from "vue-selecto";

Rather than:

import Selecto from "vue-selecto";

Which the readme states. Changing it to the first example fixed my issue.

gillisig avatar Apr 16 '21 22:04 gillisig