We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2475ea0 commit 25afc4aCopy full SHA for 25afc4a
packages/runtime-vapor/src/dom/prop.ts
@@ -638,12 +638,7 @@ function resolveCssVars(
638
block: Block,
639
expectedMap: Map<string, string>,
640
): void {
641
- if (__DEV__ && !instance.isMounted) {
642
- throw new Error(
643
- 'resolveCssVars should NOT be called before component is mounted',
644
- )
645
- }
646
-
+ if (!instance.isMounted) return
647
const rootBlocks = normalizeBlock(instance)
648
if (
649
(instance as GenericComponentInstance).getCssVars &&
0 commit comments