Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- JavaScript
- Spring
- table
- mapreduce
- SPC
- GIT
- es6
- Python
- Eclipse
- MSSQL
- Android
- IntelliJ
- plugin
- react
- NPM
- xPlatform
- hadoop
- vaadin
- Sqoop
- mybatis
- tomcat
- SQL
- 보조정렬
- window
- Java
- Kotlin
- R
- 공정능력
- SSL
- Express
Archives
- Today
- Total
DBILITY
vue 3 image src binding 본문
728x90
반응형
require가 필요하다.
<img :src="require('@/assets/'+estate.productImage)">
또는
<img :src="require('./assets/'+estate.productImage)">
결과는
<img src="/img/room0.d13c856d.jpg" alt="" class="room-img">
728x90
'front-end & ui > vuejs' 카테고리의 다른 글
vuejs BASE_URL relative path build (0) | 2021.10.26 |
---|---|
vue 실습 01 (0) | 2021.08.06 |
vue 3 vue-router,plugin 설치 및 project 적용 (0) | 2021.08.04 |
vue 3 version project create (0) | 2021.07.30 |
vue 3 instance lifecycle (0) | 2020.11.28 |
Comments