File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -507,12 +507,12 @@ export default {
507507 background : #002140 ;
508508 overflow : hidden ;
509509
510- img , h1 {
510+ img , svg , h1 {
511511 display : inline-block ;
512512 vertical-align : middle ;
513513 }
514514
515- img {
515+ img , svg {
516516 height : 32px ;
517517 }
518518
Original file line number Diff line number Diff line change 11<template >
22 <div class =" logo" >
33 <router-link :to =" {name:'dashboard'}" >
4- <img src = " ~@/assets/logo.svg " alt =" logo" >
4+ <LogoSvg alt =" logo" / >
55 <h1 v-if =" showTitle" >{{ title }}</h1 >
66 </router-link >
77 </div >
88</template >
99
1010<script >
11+ import LogoSvg from ' @/assets/logo.svg'
12+
13+ console .log (LogoSvg)
14+
1115export default {
1216 name: ' Logo' ,
17+ components: {
18+ LogoSvg
19+ },
1320 props: {
1421 title: {
1522 type: String ,
You canβt perform that action at this time.
0 commit comments