This commit is contained in:
2024-10-29 19:49:24 +02:00
commit 11eb888b9c
42 changed files with 7877 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import axios from 'axios';
const $ax = axios.create({
baseURL: '/api/'
})
export default {
install: (app, options) => {
app.config.globalProperties.$api = {
gameObject:{
async save(data){
return await $ax.put('/game-object', data);
}
}
}
}
}