Vue-cli introduces pictures to report errors

clipboard.png

clipboard.png

clipboard.png

clipboard.png

import logoSrc from"@ / assets/logo.png"
this introduces pictures and errors
according to the error prompt, it is because there is no logoSrc defined

if you define variables in data (), you can!

ask import where to quote and what is wrong!

Thank you in advance for your answer!

Jan.08,2022

Writing logoSrc:logoSrc,import in data can be used in js, but vue properties and methods are used in html

Menu