How to change logo of Frappe Drive(FDrive) in ERPNext 14?

I have tried to change the logo but i din’t get around to resolve the issue.

image

You can either replace the SVG file inside the FrappeDriveLogo.vue component or just wipe the file and serve your own image/svg/component containing your logo

1 Like

Not working.

Could you elaborate further than “Not working”?

I have deleted the svg code but still didn’t work. I further replaced the svg with new one inside FrappeDriveLogo.vue. And run code locally
bench start

FrappeDriveLogo.vue

<template>
<svg width="200" height="200" viewBox="-100 -100 200 200”>
    <circle cx="0" cy="20" r="70" fill="#D1495B" />

    <circle
      cx="0"
      cy="-75"
      r="12"
      fill="none"
      stroke="#F79257"
      stroke-width="2"
    />

    <rect x="-17.5" y="-65" width="35" height="20" fill="#F79257" />
  </svg>
  
</template>

You have to compile the frontend code using yarn run build inside the Frappe drive folder so inside your bench apps/drive folder

1 Like