docs: fix typo (#2769)

This commit is contained in:
carlcs 2022-01-18 17:36:29 +01:00 committed by GitHub
parent 4bd7adae4a
commit 23b230b34b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ Example: (using default export)
```js [composables/use-foo.ts or composables/useFoo.ts]
import { useState } from '#app'
// It will be available as useFoo() (pascalCase of file name without extension)
// It will be available as useFoo() (camelCase of file name without extension)
export default function () {
return useState('foo', () => 'bar')
}