将 Bootstrap 与 Stenciljs 结合使用

我在 stencilJs 中有一个 PWA 项目。我希望将引导程序与它一起用于响应式设计。我已经安装了 stenciljs-bootstrap npm 包。现在,当我编写示例文本进行检查时,Bootstrap 不起作用。

这是我安装的 - npm i stenciljs-bootstrap

我在 app-contact.tsx 上的代码

export class AppContact {

  render() {
    return [
      <div class="alert alert-primary" role="alert">
  This is a primary alert—check it out!
</div>

这是截图。需要做什么?

将 Bootstrap 与 Stenciljs 结合使用

speedisk 回答:将 Bootstrap 与 Stenciljs 结合使用

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/5404.html

大家都在问