Something went wrong. Try again.
This is the frontend (VueJS) of the Youtube clone called VueTube.
Something went wrong. Try again.
1234567891011121314import Api from '@/services/Api'
export default { getCommentByVideoId(filters) { return Api().get(`comments/${filters}/videos`) }, createComment(data) { return Api().post('comments', data) }, deleteById(id) { return Api().delete(`comments/${id}`) }}