// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ compatibilityDate: '2024-04-03', devtools: {enabled: false}, modules: ["@element-plus/nuxt",'@unocss/nuxt', "@nuxt/image"], css: [ 'element-plus/dist/index.css', 'element-plus/theme-chalk/display.css', '@/assets/css/main.css', ], ssr: false, app: { head: { viewport: 'width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no', title: 'websoft官网 - 快速搭建现代WEB应用的开发平台,基于Java、Vue3、TS开发,支持多端分离', meta: [ { name: 'keywords', content: 'websoft,小象CMS,企业网站,网站源码,java,nuxt,antd,vue3' }, { name: 'description', content: 'websoft.top是南宁市网宿信息科技有限公司研发的在线企业应用平台,助力企业信息化建设和转型,主要产品有:企业官网,电商系统,微信公众号,微信小程序应用等,使用目前最流行的技术栈打造。' } ], link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }] } }, devServer: { port: 16880 }, runtimeConfig: { public: { // 一般只需修改租户号和接口地址 tenantId: '5', domain: 'websoft.top', apiBase: 'https://modules.gxwebsoft.com/api', // 以下一般不需要修改 apiServer: 'https://server.gxwebsoft.com/api', globalTitle: '网宿软件', }, // 私有配置项 } })