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

RectangleItem is not defined #3

Open
jtundag opened this issue Jul 17, 2019 · 1 comment
Open

RectangleItem is not defined #3

jtundag opened this issue Jul 17, 2019 · 1 comment

Comments

@jtundag
Copy link

jtundag commented Jul 17, 2019

I followed the example in this doc https://luz-alphacode.github.io/paper-vueify/api/#using-shapes , but it doesn't seem to find the RectangleItem object. I also had the paper-vueify-datatypes installed. How do we fix this?

PS: I'm not using typescript.

EDIT: Check out this code https://codesandbox.io/embed/vue-template-29l0d?fontsize=14

@jtundag
Copy link
Author

jtundag commented Jul 17, 2019

Okay, so you need to import the Object first, like:

import { RectangleItem } from 'paper-vueify'

Already fixed mine.

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

1 participant