autosize-input icon indicating copy to clipboard operation
autosize-input copied to clipboard

The codepen.io demo no longer works

Open EamonNerbonne opened this issue 2 years ago • 0 comments

At least not on my machine. It appears the wzrd.in service isn't resolving autosize-input.

However, codepen itself recomments importing npm packages via cdn.skypack.net; and even provides UI to help you find and import npm packages such as autosize-input.

The following variant of your pen works on my machine: https://codepen.io/emn13/pen/gOeNNQJ

All I did was remove the JS dependency referring to wzrd.in, and added the skypack alternative, which is effectively no more than adding import autosizeInput from "https://cdn.skypack.dev/[email protected]"; to the top of the JS code.

EamonNerbonne avatar Aug 29 '22 13:08 EamonNerbonne