mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-02 18:37:21 +00:00
6c083f3d12
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')
|