vapor-chamber API reference - v1.3.0
    Preparing search index...

    Function waitForVueDetection

    • Wait for Vue detection to complete. Call this in app setup if you need to guarantee Vue APIs are available before the first signal() call.

      Returns Promise<void>

      import { waitForVueDetection, signal } from 'vapor-chamber';
      await waitForVueDetection();
      const count = signal(0); // guaranteed to use Vue ref() if available