- 
                Notifications
    
You must be signed in to change notification settings  - Fork 923
 
Description
I hope to provide a iframe mode so that I can write my component in vuepress and only use the component's css style
我希望能够提供iframe模式,以便能够在vuepress中写组件但是仅仅使用组件自己的css样式
Description
Proposed Solution
now I want to write a ui frameworks
there is a 'x-table' component to show in vuepress
if I don't use iframe the style of vuepress theme will influence the style of 'x-table'
becase of the default theme of vuepress has write the style of table https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/theme-default/styles/index.styl
even though I can rewrite the style to overwise the default style
but I only want not infulence the 'x-table' not all of the document of vuepress
比如 现在我需要写一个ui框架
有一个'x-table'组件需要在vuepress里面展示
如果不使用iframe, vuepress 默认的样式将会影响到这个'x-table'组件
因为vuepress 默认的主题已经写了一些table默认的样式
https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/theme-default/styles/index.styl
虽然我可以重写样式覆盖默认的样式
但是我只想默认的样式不影响'x-table'组件而不是整个文档