UNPKG

@thunderstorefront/sdk

Version:

Create Nuxt extendable layer with this GitHub template.

14 lines (10 loc) 271 B
import type { Ref } from 'vue'; export interface UseCheckoutOrder { orderNumber: Ref<string | null>; } export function useCheckoutOrder(): UseCheckoutOrder { const orderNumber = useState<string | null>('orderNumber', () => null); return { orderNumber }; }