Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add application name option #15

Open
leonvogt opened this issue May 31, 2024 · 0 comments
Open

Add application name option #15

leonvogt opened this issue May 31, 2024 · 0 comments
Labels
enhancement New feature or request Stimulus Turbo

Comments

@leonvogt
Copy link
Owner

Currently this Dev Tools makes an assumption, that your Stimulus application is assigned to window.Stimulus and Turbo to window.Turbo.
Since you can customize these names, it would be nice to have configurable options for the Stimulus and Turbo application name.

The only tricky part will probably be to the fetch the application name in the inject.js file, since we don't have access to the chrome.storage API.
One option would be to define a meta tag with the application name, before loading the inject.js file.

@leonvogt leonvogt added enhancement New feature or request Stimulus Turbo labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stimulus Turbo
Projects
None yet
Development

No branches or pull requests

1 participant