Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
6 years ago
Commit
8bad675e861768bd38c1e5dd5b4eb7c6e93bdd3a
1 parent
3c021d14
commit
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/store/index.js
apps/store/index.js
View file @
8bad675
import
Vue
from
'vue'
;
import
Vuex
from
'vuex'
;
import
{
createApi
}
from
'create-api'
;
import
storeYoho
from
'./yoho'
;
import
storeUfo
from
'./order'
;
import
storeCoupon
from
'./coupon'
;
Vue
.
use
(
Vuex
);
...
...
@@ -10,8 +10,8 @@ export function createStore(context) {
const
store
=
new
Vuex
.
Store
({
namespaced
:
true
,
modules
:
{
yoho
:
storeYoho
(),
ufo
:
storeUfo
(),
coupon
:
storeCoupon
()
},
strict
:
process
.
env
.
NODE_ENV
!==
'production'
});
...
...
Please
register
or
login
to post a comment