Skip to content

feat: allow vue router to be overrided instead of created  #24991

Closed
@riderx

Description

@riderx

Prerequisites

Describe the Feature Request

i would like to have overrideRouter method to allow me to use ionic router feature like animations by including in existing router.
After check both code it seems on the ionic side the router init have nothing special. so it can be done by the user or other module.

Describe the Use Case

i use (vite-ssg)[https://github.com/antfu/vite-ssg] in my Vueapp.
it create the router for me, so i can't use ionic router too.

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

ionic code of router creation :

const router = createVueRouter(routerOptions);

vite-ssg router creation :
https://github.com/antfu/vite-ssg/blob/3adec80118d6f008fd2f6ffafcc08cb0101284ce/src/client/index.ts#L38

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions