All projects

Dreamhubb

Frontend for Dreamhubb, a cross-platform mobile app shipped to iOS and Android from one Vue 3 codebase with Quasar and Capacitor.

Dreamhubb Hero

Who it is for

Dreamhubb users on iOS and Android.

My contribution

  • Screens and components in Vue 3 + Quasar
  • State management with Pinia
  • Platform-specific behaviour via Capacitor plugins

The challenge

Two app stores, one team, one codebase — and an interface that still has to feel native on both.

The solution

Vue 3 with TypeScript for the UI, Quasar for mobile-ready components, Pinia for state and Capacitor to package it as native iOS and Android apps with access to device APIs.

Results & impact

  • One frontend codebase shipping to both iOS and Android.

State you can read at a glance

Mobile networks are flaky, so every screen knows exactly which of four states it's in. No spinner stuck forever, no double requests from an impatient thumb.

stores/feed.tsIllustrative example
// Illustrative — a Pinia store with explicit loading states.
import { defineStore } from "pinia";

type Status = "idle" | "loading" | "ready" | "error";

export const useFeedStore = defineStore("feed", {
  state: () => ({
    items: [] as FeedItem[],
    status: "idle" as Status,
  }),
  actions: {
    async load() {
      // A second tap while loading shouldn't fire a second request.
      if (this.status === "loading") return;
      this.status = "loading";
      try {
        this.items = await api.get<FeedItem[]>("/feed");
        this.status = "ready";
      } catch {
        this.status = "error";
      }
    },
  },
});

Native where it counts

Capacitor gives the web app real device APIs. Platform checks live at the edge, so the same component runs in the browser preview and on a phone.

composables/useFeedback.tsIllustrative example
// Illustrative — one codebase, native behaviour where it matters.
import { Capacitor } from "@capacitor/core";
import { Haptics, ImpactStyle } from "@capacitor/haptics";
import { useQuasar } from "quasar";

export function useFeedback() {
  const $q = useQuasar();

  return async (message: string) => {
    // Real haptics on iOS/Android, a no-op in the browser preview.
    if (Capacitor.isNativePlatform()) {
      await Haptics.impact({ style: ImpactStyle.Light });
    }
    $q.notify({ message, position: "top", timeout: 1500 });
  };
}

What I learned

A different ecosystem than my usual React stack — and a good reminder that the patterns (explicit state, thin components, platform checks at the edges) travel between frameworks.