mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-04 12:29:28 +00:00
ce9aa4c388
- 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
23 lines
421 B
JavaScript
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');
|
|
|