Vue: Usage of vue app in an iframe embedded in index.html of a website.

Created on 22 Mar 2018  ·  2Comments  ·  Source: vuejs/vue

What problem does this feature solve?

I'm not sure if its a feature to meet my usecase, i think not. Let me propose it anyway.
So, my usecase is, my application is something like a chatbot. Starts from user embedding a async js call to my js file from his index.html and that js will do the chatbot work. Basically iframe is the best solution. But then I'm sourcing my iframe body's onload to get client.js sourced so that vue is mounted to index.html . The issue is it is not picking up the XYZ.vue styles.

What does the proposed API look like?

There's no api in the usecase yet

All 2 comments

This is not related to vue. In the best case, it could be related to vue-loader but please, consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂

@akash-potdar7 did you ever find a resolution for this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eu81273 picture eu81273  ·  40Comments

alenyu picture alenyu  ·  43Comments

karevn picture karevn  ·  42Comments

ferry77 picture ferry77  ·  67Comments

yyx990803 picture yyx990803  ·  210Comments