65 lines
1.7 KiB
JavaScript
65 lines
1.7 KiB
JavaScript
export default {
|
|
// Global page headers: https://go.nuxtjs.dev/config-head
|
|
server: {
|
|
port: 3001, // default: 3000
|
|
host: '0.0.0.0', // default: localhost
|
|
},
|
|
|
|
head: {
|
|
title: 'Login',
|
|
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/x-icon', href: '/favicon.ico' },
|
|
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0' }
|
|
]
|
|
},
|
|
|
|
// Global CSS: https://go.nuxtjs.dev/config-css
|
|
css: [
|
|
'~/assets/styles/main.scss',
|
|
'~/assets/styles/style.scss',
|
|
],
|
|
|
|
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
|
|
plugins: [
|
|
'~/plugins/connection',
|
|
'~/plugins/common',
|
|
'~/plugins/datatable',
|
|
'~/plugins/components'
|
|
],
|
|
|
|
// Auto import components: https://go.nuxtjs.dev/config-components
|
|
components: true,
|
|
|
|
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
|
|
buildModules: [
|
|
],
|
|
|
|
// Modules: https://go.nuxtjs.dev/config-modules
|
|
modules: [
|
|
// https://go.nuxtjs.dev/axios
|
|
'@nuxtjs/axios',
|
|
'@nuxtjs/dayjs',
|
|
'@nuxt/image'
|
|
],
|
|
|
|
// Axios module configuration: https://go.nuxtjs.dev/config-axios
|
|
axios: {},
|
|
|
|
// Build Configuration (https://go.nuxtjs.dev/config-build)
|
|
build: {
|
|
postcss: null,
|
|
extend(config, { isDev, isClient }) {
|
|
config.resolve.alias["vue"] = "vue/dist/vue.common";
|
|
}
|
|
}
|
|
}
|