Bootstrap for Next.Js Typescript 应用如何安装
Bootstrap for Next.Js Typescript app how to install
看了很多 post 之后,我不知道如何为 Next.Js Typescript 应用程序正确安装 Bootstrap。这是我第一次将 Bootstrap 与 Typescript 一起使用,我不知道该怎么做。我看到了那些命令:
npm i bootstrap, npm i react-bootstrap, npm install @types/bootstrap, 不知道是不是该用这三个,还是有些不需要。
提前致谢。
这可能有效:
npm 安装bootstrap@next
https://medium.com/frontendweb/how-to-add-bootstrap-in-next-js-de997371fd9c
在搜索和阅读许多类似的帖子后,我找到了答案。它需要安装三个依赖项。
npm 我 bootstrap
反应-bootstrap
@types/react-bootstrap
希望对大家有所帮助
看了很多 post 之后,我不知道如何为 Next.Js Typescript 应用程序正确安装 Bootstrap。这是我第一次将 Bootstrap 与 Typescript 一起使用,我不知道该怎么做。我看到了那些命令: npm i bootstrap, npm i react-bootstrap, npm install @types/bootstrap, 不知道是不是该用这三个,还是有些不需要。 提前致谢。
这可能有效:
npm 安装bootstrap@next
https://medium.com/frontendweb/how-to-add-bootstrap-in-next-js-de997371fd9c
在搜索和阅读许多类似的帖子后,我找到了答案。它需要安装三个依赖项。 npm 我 bootstrap 反应-bootstrap @types/react-bootstrap
希望对大家有所帮助