简体   繁体   中英

how to install react-boostrap using pnpm

The project I am working on currently uses pnpm as the package manager, I tried to install the react-boostrap library package in the project (pnpm i react-bootstrap) but this did not work. I also checked the node_module folder and there is a file of react-boostrap but it is not working.

i already search on inte.net but didn't get proper solution, so i tried this command pnpm i react-boostrap but didn't work. remember i am using vite as front end tool. pnpm 7.17.1 react 8.15.0 vite 8.15.0

You probably forgot to include css. You have to do it manually:

https://react-bootstrap.github.io/getting-started/introduction#stylesheets

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