mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
1a7b570c82
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
4 lines
90 B
TypeScript
4 lines
90 B
TypeScript
import { useState } from '#app'
|
|
|
|
export const useFoo = () => useState('foo', () => 'foo')
|