UPDATE

parent f4599af4
export const config = {
// pro
// API_ENDPOINT: 'https://cms.vab.vn/api/',
// API_IMAGE_ENDPOINT: 'https://cms.vab.vn/file/upload/',
API_ENDPOINT: 'https://cms.vab.vn/api/',
API_IMAGE_ENDPOINT: 'https://cms.vab.vn/file/upload/',
// dev
API_ENDPOINT: 'http://103.147.34.20:10700/api/',
API_IMAGE_ENDPOINT: 'http://103.147.34.20:10705/file/upload/',
// API_ENDPOINT: 'http://103.147.34.20:10700/api/',
// API_IMAGE_ENDPOINT: 'http://103.147.34.20:10705/file/upload/',
API_RES_CODE: {
OK: {
......
<template>
<div></div>
</template>
\ No newline at end of file
<template>
<div></div>
</template>
\ No newline at end of file
<template>
<div></div>
</template>
\ No newline at end of file
<template>
<q-page class="row items-center justify-evenly">
<!-- <q-btn color="primary" @click="$store.dispatch('authentication/logOut')"
>Logout</q-btn
> -->
</q-page>
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue';
export default defineComponent({
name: 'PageIndex',
});
</script>
<template>
<div></div>
</template>
\ No newline at end of file
......@@ -28,6 +28,11 @@ export enum Pages {
news = 'cau-hinh-tin-tuc',
hotProduct = 'cau-hinh-san-pham-noi-bat',
configPartner = 'cau-hinh-doi-tac-truyen-thong',
configHome = 'cau-hinh-trang-chu',
listService = 'danh-sach-dich-vu',
bcTC = 'bc-truy-cap',
bcYT = 'bc-yeu-thich',
bcBK = 'bc-booking',
}
const routes: RouteRecordRaw[] = [
......@@ -83,7 +88,7 @@ const routes: RouteRecordRaw[] = [
{
path: '/xep-hang-nghe-sy',
component: () => import('pages/xep-hang-nghe-sy/index.vue'),
name:Pages.artistRank
name: Pages.artistRank,
},
{
path: '/khach-hang',
......@@ -166,6 +171,32 @@ const routes: RouteRecordRaw[] = [
import('pages/cau-hinh-doi-tac-truyen-thong/index.vue'),
name: Pages.configPartner,
},
{
path: 'cau-hinh-trang-chu',
component: () => import('pages/cau-hinh-trang-chu/index.vue'),
name: Pages.configHome,
},
{
path: 'danh-sach-dich-vu',
component: () => import('pages/danh-sach-dich-vu/index.vue'),
name: Pages.listService,
},
{
path: 'bc-truy-cap',
component: () => import('pages/bc-truy-cap/index.vue'),
name: Pages.bcTC,
},
{
path: 'bc-yeu-thich',
component: () => import('pages/bc-yeu-thich/index.vue'),
name: Pages.bcYT,
},
{
path: 'bc-booking',
component: () => import('pages/bc-booking/index.vue'),
name: Pages.bcBK,
},
],
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment