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

make doc site toggle between options and composition api just like vue site #1265

Closed
laoshaw opened this issue Apr 30, 2022 · 1 comment
Closed

Comments

@laoshaw
Copy link

laoshaw commented Apr 30, 2022

What problem is this solving

it's hard to follow pinia's document due to the mixing of options-api and composition-api, also the composition api is not vue3.2 ready(script-setup)

Proposed solution

make the doc switchable between options and composition mode

Describe alternatives you've considered

the same way vue's doc site

@posva posva mentioned this issue May 2, 2022
20 tasks
@posva
Copy link
Member

posva commented May 2, 2022

Added to #829 but unsure if this is feasible/worth since it's not exactly like in Vue docs.

It was already there.

@posva posva closed this as completed May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants