【发布时间】:2022-01-08 05:38:07
【问题描述】:
/** @license MUI v5.0.0-alpha.63
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* eslint-disable import/export */
export { default as Alert } from './Alert';
export * from './Alert';
export { default as AlertTitle } from './AlertTitle';
export * from './AlertTitle';
export { default as Autocomplete } from './Autocomplete';
export * from './Autocomplete';
export { default as AvatarGroup } from './AvatarGroup';
export * from './AvatarGroup';
export { default as CalendarPicker } from './CalendarPicker';
export * from './CalendarPicker';
export { default as ClockPicker } from './ClockPicker';
export * from './ClockPicker';
export { default as DatePicker } from './DatePicker';
export * from './DatePicker';
export { default as DateRangePicker } from './DateRangePicker';
export * from './DateRangePicker';
...
它根本没有从 node_modules 的 index.js 导出 > @mui >lab > index.js
该目录在 index.js 中带有 export { default } from '@date-io/date-fns';
我正在运行版本 "@mui/lab": "^5.0.0-alpha.63", 和 "@mui/material": "^5.0.0-alpha.24",
【问题讨论】:
-
查看migration guide for V5
标签: material-ui