bigskysoftware / htmx-extensions

164 stars 50 forks source link

Add htmx extensions to npm to allow installing via package manager #86

Open tomdtp opened 3 months ago

tomdtp commented 3 months ago

I could not find a way to install the htmx-extensions from npm. Ideally we would have one package per extension and be able to install and version them.

Telroshan commented 3 months ago

Doesn't npm i htmx-ext-sse for ex (see each extension's name in their package.json) work for you?

tomdtp commented 3 months ago

@Telroshan Oh, thank you. Maybe this could be documented in the install section of the extensions as well. Did not find any info on this.

Telroshan commented 3 months ago

You're right, we have a npm section on the lib's doc but the extensions don't have any. We should likely add a mention & npm i command example, in each extension's README in their Install section?

A documentation PR would be welcome btw, if you feel like submitting one!

tomdtp commented 3 months ago

Will try to do this!