Skip to content

🔧 Make useAvatarPreview compatible with client & server both #2

@jd-solanki

Description

@jd-solanki

Right now, we can't use vite's new URL on server side (I guess).

Due to this we've to use useAvatarPreview on server side that uses fs and on client side we have AvatarPreview component that uses new URL.


Once we make this composable compatible with server & client both, remove AvatarPreview component and use this composable directly in app.vue and also remove the ClientOnly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions