Description
Related page
Kind of issue
Other
Issue description
The document says the only dependencies of the dashboard template are:
Make sure your project has the required dependencies: @mui/material, @mui/icons-material, @emotion/styled, @emotion/react, @mui/x-charts, @mui/x-date-pickers, @mui/x-data-grid, @mui/x-tree-view, dayjs
However the CustomisedTree uses react-spring - this has not yet been made react 19 compatible: pmndrs/react-spring#2341
So the template doesn't compile:
Module not found: Can't resolve '@react-spring/web'
Context
Trying to combine nextjs typescript template with the dashboard template from
material-ui/examples/material-ui-nextjs-ts (which is react 19)
with:
material-ui/docs/data/material/getting-started/templates/dashboard
material-ui/docs/data/material/getting-started/templates/shared-theme
Search keywords: react 19 react-spring dashboard template resolve @react-spring/web