From 24cc3e88d506ef9530615d9bc61307d318411a23 Mon Sep 17 00:00:00 2001 From: Simon Knox Date: Mon, 26 Mar 2018 12:21:01 +1100 Subject: fix Vuex module structre for diffs and notes match directory structure described in Vuex docs --- app/assets/javascripts/notes/index.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'app/assets/javascripts/notes/index.js') diff --git a/app/assets/javascripts/notes/index.js b/app/assets/javascripts/notes/index.js index 66897e6a0db..aa100577fbe 100644 --- a/app/assets/javascripts/notes/index.js +++ b/app/assets/javascripts/notes/index.js @@ -1,15 +1,6 @@ import Vue from 'vue'; -import Vuex from 'vuex'; import notesApp from './components/notes_app.vue'; -import storeConfig from './stores'; - -Vue.use(Vuex); - -const store = new Vuex.Store({ - modules: { - notes: storeConfig, - }, -}); +import store from './stores'; document.addEventListener( 'DOMContentLoaded', -- cgit v1.2.1