Merge pull request #7981 from tchak/chore-js-dans-manager
chore(manager): activate js
This commit is contained in:
commit
ecd2b2d71e
3 changed files with 12 additions and 2 deletions
|
@ -1 +0,0 @@
|
|||
import '../manager/fields/features';
|
11
app/javascript/entrypoints/manager.ts
Normal file
11
app/javascript/entrypoints/manager.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import * as Turbo from '@hotwired/turbo';
|
||||
import { Application } from '@hotwired/stimulus';
|
||||
|
||||
import '../shared/turbo-actions';
|
||||
import '../manager/fields/features';
|
||||
import { registerControllers } from '../shared/stimulus-loader';
|
||||
|
||||
const application = Application.start();
|
||||
registerControllers(application);
|
||||
|
||||
Turbo.session.drive = false;
|
|
@ -11,7 +11,7 @@ by providing a `content_for(:javascript)` block.
|
|||
<%= javascript_include_tag js_path %>
|
||||
<% end %>
|
||||
|
||||
<%= vite_javascript_tag 'manager' %>
|
||||
<%= vite_typescript_tag 'manager' %>
|
||||
|
||||
<%= yield :javascript %>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue