juliandavidmr / vue-frame

Dynamic component for creation of interfaces with iframes
https://www.npmjs.com/package/vue-frame
MIT License
47 stars 9 forks source link

Example for Internal Iframe Source #11

Closed ydennisy closed 6 years ago

ydennisy commented 6 years ago

Hello,

Would you be able to provide a short example of using this in a root element and then loading all of the children components via iFrames?

juliandavidmr commented 6 years ago

is it something like a layout that loads child elements? i.e. a replacement for the <router-view> component

ydennisy commented 6 years ago

My use case is a little different, it is to encapsulate the styles and code. Having come across this project I was wondering if it was possible to:

juliandavidmr commented 6 years ago

Hello, I don't think it's possible to make that example. iframe only (for now) changes the pages defined in the vue-frame components with respect to the frame and url attributes. Could you create an example of what you hope to achieve with vue-frame? (It would be an example of what you think, even if it doesn't work)