mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
no more includes
This commit is contained in:
parent
9fd04a6ec8
commit
13aff87b9b
@ -23,7 +23,7 @@ let store
|
|||||||
let storeData = {}
|
let storeData = {}
|
||||||
|
|
||||||
// Check if store/index.js returns a vuex store
|
// Check if store/index.js returns a vuex store
|
||||||
if (filenames.includes('./index.js')) {
|
if (filenames.indexOf('./index.js') !== -1) {
|
||||||
let mainModule = getModule('./index.js')
|
let mainModule = getModule('./index.js')
|
||||||
if (mainModule.commit) {
|
if (mainModule.commit) {
|
||||||
store = mainModule
|
store = mainModule
|
||||||
|
Loading…
Reference in New Issue
Block a user