Files
FHC-Core/public/js/apps/LogsViewer.js
T
Paolo 24b78454d3 - Added new function generateJSModulesInclude to application/helpers/hlp_header_helper.php
- 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
2022-06-24 15:07:50 +02:00

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');