Skip to content

Commit

Permalink
Beltrw custom (#8)
Browse files Browse the repository at this point in the history
* Testing forcing of adding router

* Always include router

* Modified linting, router, and Vuex store
- Forced linting to be enabled
- Set linting configuration to Standard
- Forced vue-router to be enabled
- Forced vuex to be enabled
- Added baseline vuex store

* Cleaned up minor bugs in setup

* Changed Router to be set to history mode
instead of hash mode

* Removed question for Vue build
Imported base Vuex store to main.js

* Added sample module file for Vuex store

* Fixed module file for ESLint

* Added git submodules for common components

* Fixed the router's index.js
Corrected the import path for Component

* Updated readme to include initializing submodules

* Added Vuex as a dependency

* Updated eslintrc to turn camelcase error to a warning

* - Updated vue and buefy versions
- Imported moment in main.js
  • Loading branch information
rwb7041 authored and JasonGrubb committed May 22, 2017
1 parent d8f0c92 commit 9f149c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"dependencies": {
"axios": "^0.15.3",
"buefy": "^0.2.2",
"buefy": "^0.3.1",
"bulma": "^0.4.1",
"font-awesome": "^4.7.0",
"moment": "^2.18.1",
"vue": "^2.2.2",
"vue": "^2.3.3",
"vue-router": "^2.2.0",
"vuex": "^2.2.1"
},
Expand Down
5 changes: 4 additions & 1 deletion template/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import App from './App'
import router from './router'
import store from './store/store'
import Buefy from 'buefy'
import moment from 'moment'
import 'bulma/css/bulma.css'
import 'font-awesome/css/font-awesome.css'
import 'buefy/lib/buefy.css'
Expand All @@ -15,7 +16,9 @@ Vue.filter('formatDate', function (value) {
}
})

Vue.component(Buefy.Table.name, Buefy.Table)
Vue.use(Buefy, {
defaultIconPack: 'fa'
})

/* eslint-disable no-new */
new Vue({
Expand Down

0 comments on commit 9f149c7

Please sign in to comment.