sveltejs / sveltejs/svelte.dev

Add global package-manager toggle

Open
#652 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs (functionality)
Dominant language
Svelte
Stars
330
Forks
278
Avg merge
2d 2h
Merged PRs (30d)
29

Description

To make copy-pasting easier, I would like it, if there would be a toggle to set the preferred package manager. It would be really great if this toggle would be global and affect all npm/npx commands within the docs (even if the commands are not written in a codeblock).

For reference an example from nuxt docs:
image
image

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

The issue names no project files or tests; use the linked Nuxt installation example as the behavioral reference. Done means a global preferred package-manager toggle changes every npm/npx command across the documentation, including commands outside code blocks.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.