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
Describe the bug
If we have index.abell and about.abell. index.abell uses Nav.abell so the JavaScript from Nav.abell is bundled into main.abell.js. about.abell does not use Nav.abell but uses other component which also adds to main.abell.js bundle.
Now since about.abell has main.abell.js in output, it executes the javascript and fails since the elements don't exist.
To Reproduce
Expected behavior
Nav JavaScript to be only executed for page that has Nav component added.
Screenshots
Specs:
Abell Version: latest
Node Version: all
Operating System: all
The text was updated successfully, but these errors were encountered:
Describe the bug
If we have
index.abell
andabout.abell
.index.abell
usesNav.abell
so the JavaScript from Nav.abell is bundled intomain.abell.js
.about.abell
does not useNav.abell
but uses other component which also adds tomain.abell.js
bundle.Now since about.abell has main.abell.js in output, it executes the javascript and fails since the elements don't exist.
To Reproduce
Expected behavior
Nav JavaScript to be only executed for page that has Nav component added.
Screenshots
Specs:
The text was updated successfully, but these errors were encountered: