Make a simple CRUD Using Vue.js and Axios
ฝัง
- เผยแพร่เมื่อ 9 พ.ย. 2024
- See how to send GET , POST , PATCH , PUT request with Axios in vuejs
Vuejs project : github.com/ben...
NodeJS api server :gist.github.co...
Live DEMO : stackblitz.com...
www.npmjs.com/...
www.npmjs.com/...
00:00:11 create new vuejs app
00:00:28 display sample data in template
00:03:04 run simple api server
00:05:11 install Axios
00:05:29 GET request
00:06:18 POST request (add new)
00:08:45 PATCH request
00:09:58 DELETE request
00:11:20 PUT requset
00:13:23 PUT vs PATCH
00:14:01 PUT vs POST
00:14:34 run it on stackblitz.com
What vargen nod to use?
Thanks for your comment , in the video, I used Node.js v18, but you can use the latest version