Nuxt/examples/use-state/composables/states.ts

2 lines
58 B
TypeScript

export const useLocale = () => useState<string>('locale')