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

is it possible to provide a standalone package #8

Closed Mibesoel closed 1 year ago

Mibesoel commented 1 year ago

Hi,

TAOS looks so nice, and I would love to use it in my project. But I'm stuck in an no npm environment. I'm using tailwind-standalone thanks to the tailwindcss people.

Is there any way to use this package without npm?

Maybe its easy to build a standalone package on my own? I'm not sure, cause I'm new to this area.

Thanks Michael

volkandkaya commented 1 year ago

TAOS is pretty much complete, all it requires is copying the code from src or CDN. I usually copy the minified code and paste it in the for fast loading.

In terms of the Tailwind plugin, not even sure you need that if you follow the steps in the Readme.

Mibesoel commented 1 year ago

Thanks, it works to use the classes without tailwind processor involved. Though it's impossible to @apply TAOS directives, you can't have everything, right? :D