Javascript
Js file structure
We have added all layouts files in the assets/js
folder.
app.js
- To set active menu, and layout settings and basic setup of the theme.
layout.js
- To set default layout settings on page load.
plugins.js
- To setup all toast-list, data-choices and data-provider add the script based on it.
pages
- All the pages init js files are added in the pages folder. We have named the js files based on the plugins and package so it will be easy to identify the init js file.