Bootstrap 4.6.2 popper issue
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- bootstrap, rails, ruby, scss
- 领域
- build-system, frontend
调研方向
使用 Ruby 3.1.3、Rails 7.0.4.3、Bootstrap 4.6.2、import maps 和 Sprockets 重现该错误,然后检查 config/importmap.rb、app/assets/stylesheets/application.scss 和 app/javascript/application.js。当 Bootstrap 4.6.2 配置能够加载 Popper,且不再出现所报告的未定义对象错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Ruby 3.1.3
Rails 7.0.4.3
using import maps and sprockets (without nodejs).
gem 'bootstrap', '~> 4.6', '>= 4.6.2'
there is an issue with popper: undefined is not an object (evaluating 'e.Popper=t()')
when change to bootstrap 5v, the issue disappear. (same config just different gem version)
config/importmap.rb
pin 'popper', to: 'popper.js', preload: true
pin 'bootstrap', to: 'bootstrap.min.js', preload: true
app/assets/stylesheets/application.scss
@import 'bootstrap';
app/javascript/application.js:
//= require jquery3
//= require popper
//= require bootstrap
- 主要语言
- SCSS
- 星标
- 2k
- 派生
- 435
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
twbs/bootstrap-rubygem 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
twbs/bootstrap-rubygem#294 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 30/100
twbs/bootstrap-rubygem#291 · 2 条评论 · 7 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 38/100
twbs/bootstrap-rubygem#289 ·
-
难度 3/5 1-2 天 新手友好度 48/100
twbs/bootstrap-rubygem#288 ·
-
难度 4/5 3-5 天 新手友好度 25/100
twbs/bootstrap-rubygem#284 ·
查看 twbs/bootstrap-rubygem 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
jdx/mr-boxington#1052 ·
维护者通常 1 天内回复
-
difficulty:easy func:engine prio:low type:task
难度 2/5 1-3 小时 新手友好度 78/100
NatronGitHub/Natron#2197 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
agent-approved area:configuration size:small
难度 1/5 1 小时以内 新手友好度 82/100
RonaldHensbergen/composable-data-stack#1386 ·
维护者通常 1 天内回复
-
area:rust dependencies priority:low size:S subtask tooling type:chore
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复