Files
FHC-Core/public/js/apps/LogsViewer.js
T
Paolo ce9aa4c388 - Removed inlcudes of RESTClient from PHP (FHC-Common, FHC-Footer and views/system/logs/logsViewer)
- Changed RESTClient to be a JS module
- Now RESTClient is included via JS in the app LogsViewer and in component Navigation
- Added new directory public/js/components/navigation
- Moved component Navigation to public/js/components/navigation
- Moved API calls of the Navigation component to public/js/components/navigation/API.js
- Navigation component now imports public/js/components/navigation/API.js
2022-07-06 09:48:15 +02:00

23 lines
421 B
JavaScript

import {CoreFilterCmpt} from '../components/filter/Filter.js';
import {CoreNavigationCmpt} from '../components/navigation/Navigation.js';
const logsViewerApp = Vue.createApp({
data() {
return {
appSideMenuEntries: {}
};
},
components: {
CoreNavigationCmpt,
CoreFilterCmpt
},
methods: {
newSideMenuEntryHandler(payload) {
this.appSideMenuEntries = payload;
}
}
});
logsViewerApp.mount('#main');