Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I think it would be more user friendly if on package manager selection, (pnpm, yarn etc.) it stores selection on localStorage and next time visiting, docs start with last package manager selection. #1501

Open
manniL opened this issue Feb 14, 2024 · 1 comment

Comments

@manniL
Copy link
Member

manniL commented Feb 14, 2024

I think it would be more user friendly if on package manager selection, (pnpm, yarn etc.) it stores selection on localStorage and next time visiting, docs start with last package manager selection.
On another note, can it be synced with other code-group sections so on selection it automatically selects that package manager on others too.

Originally posted by @doganalper in nuxt/nuxt#25785

Copy link
Member

atinux commented Feb 14, 2024

I think we can improve this by creating the components similar to undocs:

https://github.com/unjs/undocs/blob/main/layers/core/app/components/global/Pm-Install.vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants