Accordions and pop up menus not working
We are initializing our components in the page load event, this will work in the HTML version since pages are reloaded but in the SPA page is loaded once.
Instead of initializing a component once on page load, you need to move initialization methods into your vue components. You can call init functions in vue mounted function.
Thanks for the reply. Do you have the list of the init functions that I need to call? Or do I have to call all the components _init() functions that Im going to need? Is there a one giant init() that I can use to initialize all the components in the scripts.bundle.js?
Unfortunately, we do not have one init function, you can refer to the init part in our js files.
All files which you need to initialize will have a init function with a page load event, you can move an initialization into your component.
For layuot to work correctly you should initillze all files from js/components and js/layout. Other js files are not mendtory and you can init them separatly for your pages/components.