Read Time11 Second
- Create config.js
export function Asset_img(){
return “https://assets.domain.com/images/”;
} - Import in component
import { Asset_img } from ‘../../../config/config.js’;
path based on component we use. - Panggil di component tersebut
- DONE