선생님 안녕하세요.
import 문법으로 이미지를 관리하는 부분에서 질문이 있습니다.
============================
import mainBg from "./img/bg.png";
import mainImg1 from "https://codingapple1.github.io/shop/shoes1.jpg";
import mainImg2 from "https://codingapple1.github.io/shop/shoes2.jpg";
import mainImg3 from "https://codingapple1.github.io/shop/shoes3.jpg";
============================
Error
Failed to fetch dynamically imported module: https://codingapple1.github.io/shop/shoes1.jpg
TypeError: Failed to fetch dynamically imported module: https://codingapple1.github.io/shop/shoes1.jpg
import로는 http~형태의 url을 불러올 순 없는건가요 ?
궁금해서 여쭤봅니다...