how does Meteor introduce picture resources? Using relative paths, absolute paths are not available.
:
write this:
import img from "../public/img/bg.jpg";
or:
<img src={require("../public/img/bg.jpg")}>
neither
import img from "/img/bg.jpg";
or:
<img src={require("/img/bg.jpg")}>
can"t do it either. It"s all cannot find module"s fault
.