我在控制台上收到这条消息,但我找不到解决方案:
Failed to register controller: search (controllers/search_controller) TypeError: The 'stimulus' specifier was a simple specifier, but it has not been remapped to anything. Relative module specifiers must start with './', '../', or '/'.
个
我正在使用rails 7.0.2
和importmap.rb
安装我的JS.
我试着改变import.map
的路由,重新安装刺激文档手册,但没有奏效.