-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
I forked the project today and it's a really great work here.
I'm working with a Modal in vue-admin and its content has a link that i just want to make a
<a @click="window.open('mylink')">My nice link</a>
But when i click on it, i get this error
Property or method "window" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
I'm not sure, but this message might have something to do with the createElement('div')
const openCardModal = (propsData = {}) => {
return new CardModalComponent({
el: document.createElement('div'),
propsData
})
}
Any clue about how can i get over it?