You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
htmx.org does have instruction how to install it via NPM. Hyperscript is also install-able via NPM but this is not documented.
Would it be a good idea to highlight this also in the hyperscript documentation.
Example below from htmx.org replaced with hyperscript (checked the node_modules dir if it exists).
npm
For npm-style build systems, you can install hyperscript via [npm](https://www.npmjs.com/):
npm install hyperscript.org
After installing, you’ll need to use appropriate tooling to use node_modules/hyperscript.org/dist/_hyperscript.js (or .min.js). For example, you might bundle hyperscript with some extensions and project-specific code.
The text was updated successfully, but these errors were encountered:
@ia3andy hyperscript works for me if I directly import it into my HTML. I have no luck by importing it into a typescript file and tanspiling it to JavaScript.
htmx.org does have instruction how to install it via NPM. Hyperscript is also install-able via NPM but this is not documented.
Would it be a good idea to highlight this also in the hyperscript documentation.
Example below from htmx.org replaced with hyperscript (checked the node_modules dir if it exists).
The text was updated successfully, but these errors were encountered: