Panel275 Documents

Own Part Common Import

In panel code, import the current part’s common modules only through its generated ${part}Common alias. Do not use relative paths into a common directory. A part must not import another part’s common alias or internal common modules.

Correct

Importing file: /home/dev/contacts/panel/admin/jobTitle/list.jsx

import row from 'contactsCommon'
import { findCategory } from 'taxonomy'

Incorrect

Importing file: /home/dev/contacts/panel/admin/jobTitle/list.jsx

import row from '../../common/textRow'
import row from 'accountsCommon'

Fix

Use the current part’s generated ${part}Common alias, or import another part through its public module.