Skip to content

Add hint to documentation about ES6 import #252

@benjaminpreiss

Description

@benjaminpreiss

I think it would be practical to have a hint about how to use the script with ES6 imports. (for nextjs user e.g.)

It would be great to have a hint in the docs, that says:

You do not have to use a script tag but can directly import the script as follows:

import "focus-visible"

Activity

added a commit that references this issue on Apr 3, 2021
153448e
linked a pull request that will close this issue on Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @benjaminpreiss

      Issue actions

        Add hint to documentation about ES6 import · Issue #252 · WICG/focus-visible