最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - In the latest mui LoadingButton is missing? - Stack Overflow

programmeradmin6浏览0评论

As per the material UI documentation, /

you can import LoadingButton from '@material-ui/lab/LoadingButton'; However, I don't see this folder anywhere in mui/lab and the import throws an error.

I ran yarn add @material-ui/lab already.

I also have "@material-ui/core" already.

Do I need to install something for 'next mui' as I see the documentation url is also different: /

While most of ponents I have been using are here: /

As per the material UI documentation, https://next.material-ui./ponents/buttons/

you can import LoadingButton from '@material-ui/lab/LoadingButton'; However, I don't see this folder anywhere in mui/lab and the import throws an error.

I ran yarn add @material-ui/lab already.

I also have "@material-ui/core" already.

Do I need to install something for 'next mui' as I see the documentation url is also different: https://next.material-ui./

While most of ponents I have been using are here: https://material-ui./

Share Improve this question asked Apr 30, 2021 at 15:44 ABGRABGR 5,2654 gold badges33 silver badges55 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

According to getting-started/installation you need @next to install uping version of core.

yarn add @material-ui/core@next

This also applies to @material-ui/lab

发布评论

评论列表(0)

  1. 暂无评论