Skip to content

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

Open
@joaopedrodcf

Description

@joaopedrodcf

📚 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions