focus-visible icon indicating copy to clipboard operation
focus-visible copied to clipboard

Add hint to documentation about ES6 import

Open benjaminpreiss opened this issue 3 years ago • 0 comments

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 avatar Apr 03 '21 10:04 benjaminpreiss