we dont need that

This commit is contained in:
Tamius Han 2019-01-02 00:54:28 +01:00
parent 10a8746338
commit 286a49e189
6 changed files with 0 additions and 33 deletions

View File

@ -1,7 +1,5 @@
import Vue from 'vue'
import App from './App'
import store from '../store'
// global.browser = require('webextension-polyfill')
// Vue.prototype.$browser = global.browser

View File

@ -1,5 +0,0 @@
import * as types from './mutation-types'
export const setFoo = ({commit}, payload) => {
commit(types.UPDATE_FOO, payload)
}

View File

@ -1 +0,0 @@
export const foo = (state) => state.foo

View File

@ -1,17 +0,0 @@
import Vue from 'vue'
import Vuex from 'vuex'
import * as getters from './getters'
import mutations from './mutations'
import * as actions from './actions'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
foo: 'bar'
},
getters,
mutations,
actions
})

View File

@ -1 +0,0 @@
export const UPDATE_FOO = 'UPDATE_FOO'

View File

@ -1,7 +0,0 @@
import * as types from './mutation-types'
export default {
[types.UPDATE_FOO] (state, payload) {
state.foo = payload
}
}