move db setup to its own file

This commit is contained in:
jmosrael@gmail.com
2024-05-13 22:01:53 -07:00
parent c8614a7fa0
commit 5f580e172c
2 changed files with 4 additions and 81 deletions

View File

@@ -42,11 +42,12 @@ import axios from 'axios'
const route = useRoute()
const router = useRouter()
let count = 10
const characters = ref({})
const pageCount = ref(1)
const page = ref(1)
let count = 10
async function loadData() {
const response = await axios.post('/api/character', {
page: `${page.value-1}`,