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 hint to documentation about ES6 import #252

Open
benjaminpreiss opened this issue Apr 3, 2021 · 0 comments · May be fixed by #253
Open

Add hint to documentation about ES6 import #252

benjaminpreiss opened this issue Apr 3, 2021 · 0 comments · May be fixed by #253

Comments

@benjaminpreiss
Copy link

benjaminpreiss commented Apr 3, 2021

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"

benjaminpreiss added a commit to benjaminpreiss/focus-visible that referenced this issue Apr 3, 2021
Add hint for ES6 imports to Readme

fixes WICG#252
@benjaminpreiss benjaminpreiss linked a pull request Apr 3, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant