Initial commit
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
import{_ as l,K as u,d as r,e as a,F as c,f as i,b as s,t as d}from"./index-BmU8V2V2.js";const p={data(){return{users:[]}},created(){u.get("/api/users").then(e=>{this.users=e.data}).catch(e=>{console.error("There was an error fetching the users!",e)})}};function f(e,t,m,_,o,h){return s(),r("div",null,[t[0]||(t[0]=a("h2",null,"Users",-1)),a("ul",null,[(s(!0),r(c,null,i(o.users,n=>(s(),r("li",{key:n.id},d(n.name),1))),128))])])}const x=l(p,[["render",f]]);export{x as default};
|
||||
Reference in New Issue
Block a user