diff --git a/src/compile/Component.ts b/src/compile/Component.ts index af16c8ebec..6d149401b9 100644 --- a/src/compile/Component.ts +++ b/src/compile/Component.ts @@ -238,7 +238,7 @@ export default class Component { this.name = this.alias(name); const meta = process_meta(this, this.ast.html.children); - this.namespace = meta.namespace; + this.namespace = namespaces[meta.namespace] || meta.namespace; if (options.customElement === true) { this.customElement = {