You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<style>
body {
background: url(/src/assets/menu-icon.png) left top no-repeat;
}
</style>
rebuild ,Then it's OK
body{background:url(data:image/png;base64,iVBORw0KGgoAAAA.......) left top no-repeat};
I'm not sure if this is a bug, or I can only write this。
Reproduction
Please provide a link to a repo that can reproduce the problem you ran into.
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will be closed immediately.
System Info
vite version: 2.0.0-beta.10
Operating System: MacOs Big Sur
Node version: v12.14.0
Package manager (npm/yarn/pnpm) and version: 6.14.9
Logs (Optional if provided reproduction)
Run vite or vite build with the --debug flag.
Provide the error log here.
The text was updated successfully, but these errors were encountered:
Describe the bug
in my app.vue
then, run vite build , The compiled file is as follows ,
Url like this url(' "data:image/png;base64,..........." ') , Quotation marks are redundant. It can't work , looks like this in the browser.
so, i remove quotation,like this 。
rebuild ,Then it's OK
I'm not sure if this is a bug, or I can only write this。
Reproduction
Please provide a link to a repo that can reproduce the problem you ran into.
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will be closed immediately.
System Info
vite
version: 2.0.0-beta.10Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: