Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The package does not work in vue 3, e2.areas.map is not a function #2

Open
ghost opened this issue Feb 15, 2023 · 0 comments
Open

The package does not work in vue 3, e2.areas.map is not a function #2

ghost opened this issue Feb 15, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 15, 2023

Describe the bug
Follow the steps indicated here

https://www.npmjs.com/package/vue-img-mapper#user-content-usage

Where do I get errors.

To Reproduce
Steps to reproduce the behavior:

the steps are indicated here

https://www.npmjs.com/package/vue-img-mapper#user-content-usage

Error Stack

  1. runtime-core.esm-bundler.js:236 Uncaught TypeError: e2.areas.map is not a function
  2. [Vue warn]: Unhandled error during execution of native event handler at <ImageMapper src="https://raw.githubusercontent.com/img-mapper/react-docs/master/src/assets/example.jpg" map= {name: 'fig_1', areas: 'https://raw.githubusercontent.com/img-mapper/react-docs/master/src/assets/example.json'} >

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • OS: WIndows 10
  • Browser: chrome
  • Version: 109.0.5414.122

Smartphone (please complete the following information):

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants