versoly / taos

A simple and small (600 bytes) library to help animate elements while scrolling using responsive Tailwind CSS JIT utility classes.
MIT License
229 stars 8 forks source link

it says its not a valid package #4

Closed infermi closed 1 year ago

infermi commented 1 year ago

taos doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.

thats what is says

volkandkaya commented 1 year ago

At the moment TAOS is meant to be used for static sites, the npm package is for Tailwind plugin.

You can either use the CDN link or download the JS from there. It is a tiny package so you can even inline the JS so that the page speed is faster.