yes
This commit is contained in:
30
src/views/SettingsView.vue
Normal file
30
src/views/SettingsView.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="about">
|
||||
<h1>Settings</h1>
|
||||
<p>WIP!</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
engines: '',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
run() {
|
||||
fetch( 'http://127.0.0.1:49369/api/getEngines' ).then( res => {
|
||||
console.log( res );
|
||||
res.json().then( data => {
|
||||
this.engines = data.body;
|
||||
} );
|
||||
} ).catch( error => {
|
||||
console.log( error );
|
||||
} );
|
||||
}
|
||||
},
|
||||
created() {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user