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

How to display in the devtools name of the scripts #332

Open
joaopedrodcf opened this issue Dec 6, 2024 · 0 comments
Open

How to display in the devtools name of the scripts #332

joaopedrodcf opened this issue Dec 6, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@joaopedrodcf
Copy link

📚 Is your documentation request related to a problem?

📚 Is your documentation request related to a problem?

I couldn't find in the docs how to display in the devtools so that I can know which one is which.

     useScript(
            {
                src: "xxx",
                id: "super-script-src",
            },
            {
                devtools: {
                    registryKey: "SuperScript", // Key used to map to the registry script for Nuxt DevTools. as per JS Docs ( It's not the name 
                    registryMeta: {
                        name: "SuperScript", // We can include here for example the name
                    },
                },
            },
        );

Example after I included that meta data in the devtools
Image

🔍 Where should you find it?

I would say a tab with devtools in the sidebar with this and more information on how useful the devtools is, would be really important

ℹ️ Additional context

No response

@joaopedrodcf joaopedrodcf added the documentation Improvements or additions to documentation label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant