-
Notifications
You must be signed in to change notification settings - Fork 285
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
Not working with Vue component #26
Comments
Same problem in my vue app. I've installed the library using vue ui and imported it in my vue app main.js entry point but with no success |
@ultrageek try this vue directive I've made to make the library work in vue. |
Nice, thanks! I ended up tossing xframebypass and used Vue's @click on text to load my iframe with the necessary URL. This is only a hack, but the URLs I need don't seem to have a cross-domain issue. |
You are welcome! Feel free to download and use it in your projects |
`<script> export default {
} |
Apologies if this is not a bug:
The code works fine in Chrome for me, on a localhost server, unless I try to integrate it into a Vue application. I use Vue with a CDN, with HTML and JS separated. I get "Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option."
I tried adding 'x-frame-bypass' : xframe to my Vue's components list, which throws an error about "xframe'. I then replaced xframe with iframe, but the same type of error shows up. I also embedded x-frame-bypass.js into my own Vue app's JS file, etc. But either my Vue code works and X-Frame-Bypass doesn't, or vice versa.
Now here's the weird thing. At the moment, I have the following situation:
Unfortunately, I don't know enough about extending elements to know if this is actually a bug or just appears to be. So apologies in advance
The text was updated successfully, but these errors were encountered: