简体   繁体   中英

Only install certain components of React Material UI

Is there a way to only install certain components of React Material UI. Especially the AutComplete component?

More than "Installing", what you are looking for seems to be only adding the components you use to your final bundle when your app is built, otherwise known as Treeshaking.

There's a guide in the documentation about this that might help you out.

https://mui.com/material-ui/guides/minimizing-bundle-size/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM