Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

419 B
Raw Blame
/**
 * Returns an absolute asset path from the assets/images/ folder
 *
 * e.g., to access:
 * frontend/src/assets/images/board_creation_modal/assignees.svg
 *
 * use
 * imagePath('board_creation_modal/assignees.svg')
 *
 *
 * @param image Path to the image starting from frontend/src/assets/images
 */
export function imagePath(image:string) {
  return `${globalThis.__webpack_public_path__}assets/images/${image}`;
}