// 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: '首页', meta: [ { name: 'keywords', content: '企业官网,建站系统,websoftCMS,网站源码,java,nuxt,antd,vue3' }, { name: 'description', content: 'weSite企业建站系统,助力企业信息化建设和转型,主要产品有:企业官网,电商系统,微信公众号,微信小程序应用等,使用目前最流行的技术栈打造。https://websoft.top' } ], link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }], } }, devServer: { port: 16880 }, runtimeConfig: { public: { // 开发环境需要修改租户ID和接口地址 tenantId: '5', apiDev: 'http://127.0.0.1:9001/api', // 以下一般不需要修改 apiBase: 'https://modules.gxwebsoft.com/api', apiServer: 'https://server.gxwebsoft.com/api', globalTitle: '网宿软件', domain: 'websoft.top', }, // 私有配置项 } })