Open lucasvallenet opened 2 years ago
We won't merge the barba branch yet, but I think we could make use of the config.js
already. Any idea on how to implement that, should I create a new pull request with this file only ?
We won't merge the barba branch yet, but I think we could make use of the
config.js
already. Any idea on how to implement that, should I create a new pull request with this file only ?
Yes, create a new pull request with only the changes to config.js
(dom.js
and environment.js
, too?). Then this pull request can be rebased according to that and merged afterwards when ready.
We can maybe add these changed to PR#120 that is likely to be merged soon ?
Outcome from meeting on 2022-10-05 Status: On hold until further notice. We like the idea, but we need to do more tests before deciding if we use Barba.js. It depends on our current usage of modular load.
Remove modularload and use barba instead. It is located in the same module
Load.js
and uses thedata-module-load
namespace.I also added a
config.js
file in the script root to have global vars (env, classnames, etc...) and updated theutils/environment.js
with dom elements.