We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
asset starts with '~@' resolved error
src/bar/foo.vue
<template> <img src='~@assets/foo.png'/> </template>
compiled
// actually /src/bar/@assets/foo.png // expected src/assets/foo.png
vite.config.ts
import vue from '@vitejs/plugin-vue2' import { defineConfig } from 'vite' defineConfig({ plugins: [vue()], })
The text was updated successfully, but these errors were encountered:
I think it should be caused by this line of code
vite-plugin-vue2/src/template.ts
Line 117 in 06ede94
Sorry, something went wrong.
No branches or pull requests
asset starts with '~@' resolved error
example
src/bar/foo.vue
compiled
vite.config.ts
The text was updated successfully, but these errors were encountered: