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.js
bundle.import mrCountdown from './overlay-nav';
-
Ensure the following line appears in the
export
object:export { mrOverlayNav, };