diff --git a/packages/renderers/renderer-vue/client.js b/packages/renderers/renderer-vue/client.js index 83ea80524..dfbd48a30 100644 --- a/packages/renderers/renderer-vue/client.js +++ b/packages/renderers/renderer-vue/client.js @@ -2,6 +2,7 @@ import { h, createSSRApp } from 'vue'; import StaticHtml from './static-html.js'; export default (element) => (Component, props, children) => { + delete props['class']; // Expose name on host component for Vue devtools const name = Component.name ? `${Component.name} Host` : undefined; const app = createSSRApp({ name, render: () => h(Component, props, { default: () => h(StaticHtml, { value: children }) }) });