An isomorphic hyperHTML & viperHTML importer, compatible with bundlers
npm install hypermorphic
An isomorphic hyperHTML & viperHTML importer, compatible with bundlers.
``js
// ESM example (assuming bundlers/ESM loaders in place)
import {bind, wire} from 'hypermorphic';
// CommonJS example
const {bind, wire} = require('hypermorphic');
`
Please have a look at the example folder to find out how to configure your favorite bundler to load _hyperHTML_ on the client side, fully ignoring _viperHTML_.
You can clone this repository, enter in the example folder,npm install
pick one of the solutions and then run .
You can reach http://localhost:8080/` to see a page
powered by _hyperHTML_ on the client and _viperHTML_ on the server.