mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-01 02:49:37 +00:00
24b78454d3
- Added entry "customJSModules" to the application/views/templates/FHC-Footer.php to be passed to the generateJSModulesInclude function to generate JS modules tags - The new VUE components are making use of the JS import and export functionalities
23 lines
403 B
JavaScript
23 lines
403 B
JavaScript
import {CoreFilterCmpt} from '../components/Filter.js';
|
|
import {CoreNavigationCmpt} from '../components/Navigation.js';
|
|
|
|
const logsViewerApp = Vue.createApp({
|
|
data() {
|
|
return {
|
|
appSideMenuEntries: {}
|
|
};
|
|
},
|
|
components: {
|
|
CoreNavigationCmpt,
|
|
CoreFilterCmpt
|
|
},
|
|
methods: {
|
|
newSideMenuEntryHandler(payload) {
|
|
this.appSideMenuEntries = payload;
|
|
}
|
|
}
|
|
});
|
|
|
|
logsViewerApp.mount('#main');
|
|
|