Vue
Skeleton UI 제작
hjcode
2023. 2. 10. 16:47
전에 만들었던 리스트 목록을 활용해서 css로만 skeleton ui를 만들었다.
vue.js axios 예제
https://reqres.in/ Reqres - A hosted REST-API ready to respond to your AJAX requests Native JavaScript If you've already got your own application entities, ie. "products", you can send them in the endpoint URL, like so: var xhr = new XMLHttpRequest(); xhr.
hjcode.tistory.com
리스트 가져오는게 너무 금방이라 보이지도 않아서 3초후에 나타나도록 했다.
Skeleton UI를 컴포넌트로 빼서 활용하면 좋을듯하다.
반응형