SDK usage in Nuxt examples is invalid

Open
#404 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
nuxt
Domain
documentation

Research direction

Start by locating the Nuxt tutorial examples that use the SDK and compare the documented readItem(...) call with the working readItem(..., "1") usage described in the issue. Done means the Nuxt examples show valid SDK calls, including the corrected readItem usage.

Written by the indexing model from the issue text.

Description

From this bluesky thread:

readSingleton(...) worked, readItem(..., "1") worked, but the tutorial's usage, readItem(...), didn't

Dominant language
TypeScript
Stars
24
Forks
90
Avg merge
3d 22h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from directus/docs

All issues in directus/docs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.