Initializing
The demo pages already include the following code. These steps are only necessary if you are building a page from scratch. Remove these references if you are not using this plugin to improve page load times.
-
Declare the following import statement in
js/mrare/index.js. This ensures that the initializer code is included in thetheme.jsbundle.import mrCountdown from './overlay-nav'; -
Ensure the following line appears in the
exportobject:export { mrOverlayNav, };