![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ts.corals.io/frontend/ |
export default { // Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode ssr: false, target: 'static', pageTransition: { name: 'page', mode: 'out-in', // beforeEnter(el) { // } }, // Global page headers: https://go.nuxtjs.dev/config-head head: { title: 'Timesheet', htmlAttrs: { lang: 'en' }, meta: [ {charset: 'utf-8'}, {name: 'viewport', content: 'width=device-width, initial-scale=1'}, {hid: 'description', name: 'description', content: ''}, {name: 'format-detection', content: 'telephone=no'} ], link: [ {rel: 'icon', type: 'image/png', href: '/favicon.png'}, { rel: 'stylesheet', href: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css', defer: true, integrity: "sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn", crossOrigin: "anonymous" }, ] }, // Global CSS: https://go.nuxtjs.dev/config-css css: [ '~/assets/css/custom.css' ], // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins plugins: [ '~/plugins/helpers.js', '~/plugins/form.js', {src: '~/plugins/vuex-persist.js', mode: 'client'}, "~/plugins/vue-tables-2.js", "~/plugins/CoralsForm.js", "~/plugins/eventBusInject.js", "~/plugins/CoralsAuthorization.js", "~/plugins/vSelect.js", "~/plugins/pusher.js", ], // Auto import components: https://go.nuxtjs.dev/config-components components: false, // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules buildModules: [ '@nuxtjs/dotenv', '@nuxtjs/fontawesome', 'nuxt-compress', '@nuxtjs/moment', ], fontawesome: { component: 'fa', suffix: false, icons: { solid: [ 'faRedo', 'faPlus', 'faEdit', 'faEye', 'faTrash', 'faCheck', 'faCheckCircle', 'faUser', 'faSignOutAlt', 'faSignInAlt', 'faFileInvoice', 'faSearch', 'faEraser', 'faFilter', 'faChevronRight', 'faChevronLeft', 'faStickyNote', 'faTimes', 'faHourglassStart', 'faHourglass', 'faHourglassEnd', 'faFileExcel', 'faArrowUp', 'faBell', 'faUsers', 'faExclamationTriangle', 'faPaperPlane', 'faClone', 'faEllipsisV', 'faCoins', 'faCalendarWeek', 'faSave' ], regular: ['faMoneyBillAlt', 'faStickyNote'] } }, // Modules: https://go.nuxtjs.dev/config-modules modules: [ // https://go.nuxtjs.dev/bootstrap 'bootstrap-vue/nuxt', // https://go.nuxtjs.dev/axios '@nuxtjs/axios', '@nuxtjs/auth-next', '@nuxtjs/toast', 'nuxt-sweetalert2' ], bootstrapVue: { // bootstrapCSS: true, // Or `css: false` // bootstrapVueCSS: false, // Or `bvCSS: false` componentPlugins: ['ModalPlugin'], directivePlugins: [], components: [ 'BModal', 'BCollapse', 'BNavItemDropdown', 'BDropdownItem', 'BButton', 'BInputGroup', 'BInputGroupText', 'BFormCheckboxGroup', 'BFormRadioGroup', 'BFormCheckbox', 'BFormRadio', 'BCollapse', 'BSpinner', 'BOverlay', 'BNavbar', 'BNavbarNav', 'BNavbarToggle', 'BNavItem', 'BNavbarBrand', 'BContainer', 'BImg', 'BButtonGroup', 'BCard', 'BCardHeader', 'BCardBody', 'BTabs', 'BTab', 'BCardText', 'BLink', 'BFormInput', 'BFormGroup', 'BFormSelect', 'BFormTextarea', 'BFormDatepicker', 'BSkeleton', 'BBreadcrumb', 'BBreadcrumbItem', 'BAlert', 'b-skeleton-table', 'BBadge', 'BDropdown', 'BFormFile', 'BPopover', 'BSkeletonImg', 'BTable', 'BNav' ], directives: ['VBModal', 'VBTooltip', 'VBToggle', 'BPopover'], icons: false }, toast: { position: 'bottom-left', duration: 2000, keepOnHover: true, theme: 'bubble', register: [] }, // Axios module configuration: https://go.nuxtjs.dev/config-axios axios: { baseURL: process.env.API_URL, headers: { 'Content-Type': 'application/json', 'X-Requested-With': 'XMLHttpRequest', 'Access-Control-Allow-Origin': '*', 'Cache-Control': 'no-cache', } }, auth: { plugins: ['~/plugins/CoralsAuthorization.js'], strategies: { local: { endpoints: { login: {url: 'auth/login', method: 'post'}, logout: {url: 'auth/logout', method: 'post'}, user: {url: 'profile', method: 'get'} }, user: { property: 'data', }, token: { property: 'data.authorization', required: true, type: '' }, }, }, }, // Build Configuration: https://go.nuxtjs.dev/config-build build: { babel: { compact: true, } } }