Enable the Vue 3 front-end

This commit is contained in:
Bubka
2023-12-01 15:29:26 +01:00
parent ffde1723d4
commit 9efb54adf4
146 changed files with 2000 additions and 9387 deletions

22
resources/js/services/systemService.js vendored Normal file
View File

@ -0,0 +1,22 @@
import { httpClientFactory } from '@/services/httpClientFactory'
const webClient = httpClientFactory('web')
export default {
/**
*
* @returns Promise
*/
getSystemInfos(config = {}) {
return webClient.get('infos', { ...config })
},
/**
*
* @returns Promise
*/
getLastRelease(config = {}) {
return webClient.get('latestRelease', { ...config })
}
}