Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-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
TaoHuang
2019-09-24 10:50:59 +0800
Commit
6406cfb2adfc38506eca4f1b6d6856a2c8d77e49
1 parent
0f8a3d67
add home
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
2 deletions
apps/pages/home/index.js
apps/pages/index.js
apps/store/home/index.js
apps/store/index.js
config/api-map.js
config/home-api-map.js
apps/pages/home/index.js
0 → 100644
View file @
6406cfb
export
default
[{
// name: 'GainShow',
// path: '/xianyu/order/show.html',
// component: () => import(/* webpackChunkName: "gain" */ './order')
}];
...
...
apps/pages/index.js
View file @
6406cfb
...
...
@@ -2,5 +2,6 @@ import Order from './order';
import
Common
from
'./common'
;
import
List
from
'./list'
;
import
Product
from
'./product'
;
import
Home
from
'./home'
;
export
default
[...
Order
,
...
Common
,
...
List
,
...
Product
];
export
default
[...
Order
,
...
Common
,
...
List
,
...
Product
,
...
Home
];
...
...
apps/store/home/index.js
0 → 100644
View file @
6406cfb
export
default
function
()
{
return
{
namespaced
:
true
,
state
:
{
},
mutations
:
{
},
actions
:
{
},
};
}
...
...
apps/store/index.js
View file @
6406cfb
...
...
@@ -5,6 +5,7 @@ import storeYoho from './yoho';
import
storeOrder
from
'./order'
;
import
storeList
from
'./list'
;
import
storeProduct
from
'./product'
;
import
storeHome
from
'./home'
;
Vue
.
use
(
Vuex
);
...
...
@@ -15,7 +16,8 @@ export function createStore(context) {
yoho
:
storeYoho
(),
order
:
storeOrder
(),
list
:
storeList
(),
produt
:
storeProduct
()
produt
:
storeProduct
(),
home
:
storeHome
()
},
strict
:
process
.
env
.
NODE_ENV
!==
'production'
});
...
...
config/api-map.js
View file @
6406cfb
const
orderApi
=
require
(
'./order-api-map'
);
const
productApi
=
require
(
'./product-api-map'
);
const
listApi
=
require
(
'./list-api-map'
);
const
homeApi
=
require
(
'./home-api-map'
);
module
.
exports
=
{
...
orderApi
,
...
productApi
,
...
listApi
,
...
homeApi
};
...
...
config/home-api-map.js
0 → 100644
View file @
6406cfb
module
.
exports
=
{
};
...
...
Please
register
or
login
to post a comment