Skip to content

Commit

Permalink
Added date filter (#7)
Browse files Browse the repository at this point in the history
Added font-awesome
imported bulma styles
  • Loading branch information
rwb7041 authored and JasonGrubb committed Apr 27, 2017
1 parent c20b6fc commit d8f0c92
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"axios": "^0.15.3",
"buefy": "^0.2.2",
"bulma": "^0.4.1",
"font-awesome": "^4.7.0",
"moment": "^2.18.1",
"vue": "^2.2.2",
"vue-router": "^2.2.0",
"vuex": "^2.2.1"
Expand Down
8 changes: 8 additions & 0 deletions template/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@ import App from './App'
import router from './router'
import store from './store/store'
import Buefy from 'buefy'
import 'bulma/css/bulma.css'
import 'font-awesome/css/font-awesome.css'
import 'buefy/lib/buefy.css'

Vue.config.productionTip = false

Vue.filter('formatDate', function (value) {
if (value) {
return moment(String(value)).format('DD-MMM-YYYY')
}
})

Vue.component(Buefy.Table.name, Buefy.Table)

/* eslint-disable no-new */
Expand Down

0 comments on commit d8f0c92

Please sign in to comment.