chore: fix index.ts path
Signed-off-by: Rajib Quayum <rajibq@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@ This addresses the problem where the elements contain the `v5-` prefix for MUI c
|
||||
Import should be made as follows to ensure the prefix problem is addressed correctly:
|
||||
|
||||
```diff
|
||||
// packages/app/index.ts
|
||||
// packages/app/src/index.ts
|
||||
|
||||
+ import '@backstage/theme/MuiClassNameSetup'; // must be the very first import!
|
||||
import '@backstage/cli/asset-types';
|
||||
|
||||
@@ -21,7 +21,7 @@ import { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/material
|
||||
* This needs to be configured before any MUI 5 component can possibly be imported. See: https://v5.mui.com/material-ui/experimental-api/classname-generator/#caveat
|
||||
*
|
||||
* ```diff
|
||||
* // packages/app/index.ts
|
||||
* // packages/app/src/index.ts
|
||||
*
|
||||
* + import '@backstage/theme/MuiClassNameSetup'; // must be the very first import!
|
||||
* import '@backstage/cli/asset-types';
|
||||
|
||||
Reference in New Issue
Block a user