Files
login-v2/nuxt.config.js
ThienPhamVan 3a2e16cf19 Base Login
2026-03-25 10:06:01 +07:00

66 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: 'store',
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',
'~/node_modules/@mdi/font/css/materialdesignicons.min.css'
],
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
'~/plugins/buefy',
'~/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'
],
// 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";
}
}
}