A helper library that can be used to mount a VSETHNavbar in static apps.
Building and running on localhost
First install dependencies:
To create a production build:
To create a development build:
bundle.js has to be included at the end of your body element. It
will convert all the navbar elements into VSETHNavbar components by mounting a
React instance that replaces the original node. Elements with data-ignore are
not converted, but are still removed. It is recommended to have a HTML structure
that is similar to the one that the React component will mount so that there is
no additional layout shift.
A simple example can be found in