Add in some ui work for listing available characters.
This commit is contained in:
24
frontend/src/components/CharacterEditer.vue
Normal file
24
frontend/src/components/CharacterEditer.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<div>{{ character }}</div>
|
||||
<JsonEditorVue v-model="value" v-bind="{}" />
|
||||
<v-btn>Save Character</v-btn>
|
||||
</template>
|
||||
|
||||
<style></style>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
import JsonEditorVue from 'json-editor-vue'
|
||||
|
||||
import { Character } from '../proto/character'
|
||||
|
||||
const value = ref({})
|
||||
const character: Character = {
|
||||
playerName: '',
|
||||
characterName: '',
|
||||
characterAlias: [],
|
||||
version: '',
|
||||
sourceTable: '',
|
||||
json: '{}',
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user