Handle controller paths with non-existant entry points
We have the controller `profiles/keys` with the action `show`, so it tries to load: `pages.profiles.keys.show.js` which doesn't exist. The following entry points do exist: pages/profiles/keys/show/index.js <== does not exist pages/profiles/keys/index.js <== does exist pages/profiles/index.js <== does exist So, it should have tried loading the other two, but didn't. By moving the "backtracking" logic to the backend, we can try loading all of those virtual entry points.
显示
- app/assets/javascripts/entrypoints/main.js 0 个添加, 5 个删除app/assets/javascripts/entrypoints/main.js
- app/assets/javascripts/entrypoints/main_ee.js 0 个添加, 5 个删除app/assets/javascripts/entrypoints/main_ee.js
- app/assets/javascripts/entrypoints/main_jh.js 0 个添加, 5 个删除app/assets/javascripts/entrypoints/main_jh.js
- app/assets/javascripts/run_modules.js 0 个添加, 48 个删除app/assets/javascripts/run_modules.js
- app/helpers/application_helper.rb 0 个添加, 9 个删除app/helpers/application_helper.rb
- app/helpers/vite_helper.rb 13 个添加, 0 个删除app/helpers/vite_helper.rb
- app/views/layouts/_head.html.haml 1 个添加, 6 个删除app/views/layouts/_head.html.haml
- config/webpack.config.js 38 个添加, 86 个删除config/webpack.config.js
- config/webpack.helpers.js 69 个添加, 0 个删除config/webpack.helpers.js
- package.json 2 个添加, 1 个删除package.json
- spec/helpers/application_helper_spec.rb 0 个添加, 34 个删除spec/helpers/application_helper_spec.rb
- spec/helpers/vite_helper_spec.rb 26 个添加, 0 个删除spec/helpers/vite_helper_spec.rb
- vite.config.js 35 个添加, 0 个删除vite.config.js
加载中
想要评论请 注册 或 登录