UNPKG

shadcn-docs-nuxt

Version:

Effortless and beautiful docs template built with Nuxt Content & shadcn-vue.

4 lines (3 loc) 121 B
export function useCodeTreeState(id: string, open: string) { return useState<string>(`code-tree-${id}`, () => open); }