Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't compile with img path starting with ./ #1

Closed
stuta opened this issue Apr 21, 2020 · 1 comment
Closed

Won't compile with img path starting with ./ #1

stuta opened this issue Apr 21, 2020 · 1 comment

Comments

@stuta
Copy link

stuta commented Apr 21, 2020

This won't stat (compile module) vite:

<img alt="Vue logo" src="./assets/logo.png" />

These will start even if logo is not found:

<img alt="Vue logo" src="assets/logo.png" />
<img alt="Vue logo" src="/assets/logo.png" />

I can't get any combination to work with both vite and vue-cli-service with vue 3.

@yyx990803
Copy link
Member

yyx990803 commented Apr 21, 2020

Because it's not supported. This project isn't compatible with webpack based usage.

Shinigami92 pushed a commit that referenced this issue Jun 5, 2021
feat: add EventTarget to @vite/client
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants