Comments (3)
Move your images to static
folder , and <VLazyImage :src="/images/hello.jpg" />
, where images is the folder in static folder
from v-lazy-image.
This works for me:
<v-lazy-image :src="slotProps.firstImage || require('@/assets/images/property/properties-placeholder.jpg')" :src-placeholder="require('@/assets/images/property/properties-placeholder.jpg')" />
from v-lazy-image.
Would it increase JS bundle size ?
from v-lazy-image.
Related Issues (20)
- Unexpected token 'export' HOT 2
- VLazyImage not resolving paths (vite & relative paths) - Only CDN Images works HOT 2
- Picture slots aren't working, throwing a message instead HOT 6
- Does this have any advantages over https://github.com/RadKod/v-lazy-component ? HOT 2
- Cannot import it on vue 2 HOT 6
- Inline attribute to load Webp images
- Not loading image when using smooth scrolling with anchor links
- not working vue2
- if(state.observer) is enough
- Is v-lazy-image SEO optimized? HOT 2
- [Feature Request] Full SSR support HOT 1
- img srcset error HOT 2
- mobileSize HOT 1
- Please update it to latest vuejs v3 + TypeScript HOT 2
- Vue 2 - v-lazy-image 2.0.1 - Missing file extension for "v-lazy-image/v2" HOT 9
- Feature request: error css-class HOT 1
- render function or template not defined in component: v-lazy-image HOT 3
- Usage in Nuxt 3 HOT 1
- Problems when i try to import in Vue2 HOT 1
- v-lazy-image tag comes from db HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v-lazy-image.