-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello! I'm use vue 2.7.16. I have error in browser:
Error in setup: "TypeError: Cannot read properties of undefined (reading '$asImageOptions')"
My component code
<template>
<as-image
class="demoimage"
:width="1280"
:height="640"
:src="src"
>
<template #loading>
<div class="loading" />
</template>
</as-image>
</template>
<script>
import AsImage from '@awesome-image/image'
import '@awesome-image/image/dist/style.css'
export default {
components: {
AsImage,
},
props: {
src: {
type: String,
default: '',
require: true,
},
},
}
</script>
How do I fix this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
