Skip to content

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

@laoshaw

Description

@laoshaw

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions