Creazione tabella Product
This commit is contained in:
@@ -19,10 +19,11 @@ const functionality: IFunctionality = {
|
||||
SHOW_NEWSLETTER: false,
|
||||
SHOW_ONLY_POLICY: true,
|
||||
ENABLE_TODOS_LOADING: false,
|
||||
ENABLE_PROJECTS_LOADING: true,
|
||||
ENABLE_PROJECTS_LOADING: false,
|
||||
SHOW_IF_IS_SERVER_CONNECTION: true,
|
||||
SHOW_MESSAGES: false,
|
||||
BOOKING_EVENTS: false
|
||||
BOOKING_EVENTS: true,
|
||||
ENABLE_ECOMMERCE: true,
|
||||
}
|
||||
|
||||
const routes_admin: IListRoutes[] = [
|
||||
@@ -118,6 +119,29 @@ const routes_projects: IListRoutes[] = [
|
||||
|
||||
]
|
||||
|
||||
const routes_ecommerce: IListRoutes[] = [
|
||||
{
|
||||
active: functionality.ENABLE_ECOMMERCE,
|
||||
order: 10,
|
||||
path: '/' + RouteNames.ecommerce,
|
||||
materialIcon: 'shop',
|
||||
name: RouteNames.ecommerce,
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
component: () => import('@/views/projects/proj-list/proj-list.vue'),
|
||||
inmenu: functionality.SHOW_MESSAGES,
|
||||
infooter: functionality.ENABLE_PROJECTS_LOADING,
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
async asyncData() {
|
||||
// await Todos.actions.dbLoad({ checkPending: false })
|
||||
await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true })
|
||||
}
|
||||
},
|
||||
idelem: process.env.PROJECT_ID_MAIN
|
||||
}
|
||||
]
|
||||
|
||||
const routes_newsletter: IListRoutes[] = [
|
||||
{
|
||||
active: true,
|
||||
@@ -360,7 +384,7 @@ const baseroutes: IListRoutes[] = [
|
||||
infooter: false
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
active: functionality.ENABLE_PROJECTS_LOADING,
|
||||
path: '',
|
||||
order: 10001,
|
||||
faIcon: 'fa fa-list-alt',
|
||||
@@ -372,6 +396,19 @@ const baseroutes: IListRoutes[] = [
|
||||
infooter: true
|
||||
},
|
||||
...routes_projects,
|
||||
{
|
||||
active: functionality.ENABLE_ECOMMERCE,
|
||||
path: '',
|
||||
order: 10002,
|
||||
faIcon: 'fa fa-list-alt',
|
||||
materialIcon: 'next_week',
|
||||
name: 'pages.ecommerce',
|
||||
routes2: routes_ecommerce,
|
||||
inmenu: true,
|
||||
solotitle: true,
|
||||
infooter: true
|
||||
},
|
||||
...routes_projects,
|
||||
{
|
||||
active: true,
|
||||
order: 2000,
|
||||
|
||||
Reference in New Issue
Block a user