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
Eg:
<img src="@/assets/img/logo.png" alt="Vue Logo" class="w-8 h-8" /> <!-- Image loads fine -->
But on using it with VLazyImage
VLazyImage
<VLazyImage src="@/assets/img/logo.png" /> <!-- Image not loads -->
These are my vite.config.ts
vite.config.ts
export default defineConfig({ base: "./", resolve: { alias: { "@": resolve(__dirname, "./src"), }, }, plugins: [vue(), Components()], });
Even, relative links are not working here. only cdn works for now.
The text was updated successfully, but these errors were encountered:
Not sure what can be the issue here... any clues? Additionally, please check if that's the right way use use an asset on a custom component
Sorry, something went wrong.
@anburocky3 I faced same issue , as mentioned by @alexjoverm " right way use use an asset on a custom component " is to use like below
<v-lazy-image :src="require('@/assets/dtins.jpg')" /> Note = :src (colon) and wrap it inside "require" hope this helps
No branches or pull requests
Eg:
But on using it with
VLazyImage
These are my
vite.config.ts
Even, relative links are not working here. only cdn works for now.
The text was updated successfully, but these errors were encountered: