mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-21 06:44:58 +00:00
Mirage factories + models + seeds + faker
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
export default {
|
||||
async setup(props, {attrs, slots}){
|
||||
let response = await fetch('/api/emails');
|
||||
let emails = await response.json();
|
||||
let {emails} = await response.json();
|
||||
|
||||
return {emails}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user