feat(FE dashboard): draft
This commit is contained in:
parent
36da912989
commit
0383192604
1 changed files with 18 additions and 0 deletions
18
resources/js/composables/content/dashboard_page.ts
Normal file
18
resources/js/composables/content/dashboard_page.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
import axios from "axios";
|
||||
import {ref, reactive, computed} from "vue";
|
||||
|
||||
export function archive_page() {
|
||||
const items = ref([])
|
||||
const selected = ref([])
|
||||
const loading = ref(false)
|
||||
const search = ref('')
|
||||
const listData = reactive({
|
||||
'itemsPerPage': 5,
|
||||
'first_page': null,
|
||||
'last_page': null,
|
||||
'total_items': 0,
|
||||
'page': 1,
|
||||
})
|
||||
|
||||
return { items, listData, selected, loading, search }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue