cleaned, switched from stylus to sass

This commit is contained in:
2019-07-19 16:21:46 +02:00
parent dd40e24467
commit 01e4d99537
16 changed files with 874 additions and 161 deletions
-21
View File
@@ -1,21 +0,0 @@
import { HTTP } from './http-axios'
export default {
getPosts (cb) {
HTTP.get('posts')
.then(response => {
console.log('response', response)
cb(response.data)
})
},
getPost (id, cb) {
HTTP.get(`posts/` + id)
.then(response => {
console.log('response', response)
cb(response.data)
})
.catch(e => {
this.errors.push(e)
})
}
}