参考:https://youtu.be/tSu8xF0A2ek
输入指令:bin/importmap pin bootstrap 如果报错,
可改为:./bin/importmap pin bootstrap
将config/importmap.rb
pin "@popperjs/core", to: "https://ga.jspm.io/npm:@popperjs/core@2.11.6/lib/index.js"
改为
pin "@popperjs/core", to: "https://unpkg.com/@popperjs/core@2.11.6/dist/esm/index.js"
网友评论