46 lines
1.6 KiB
TypeScript
46 lines
1.6 KiB
TypeScript
// 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,
|
||
plugins: [
|
||
'@/plugins/element-ui'
|
||
],
|
||
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: {
|
||
// 开发环境配置
|
||
// tenantId: '5',
|
||
// apiServer: 'http://127.0.0.1:30000/api',
|
||
|
||
// 生产环境
|
||
apiServer: 'https://common-api.websoft.top/api',
|
||
globalTitle: '网宿软件',
|
||
domain: 'websoft.top'
|
||
},
|
||
// 私有配置项
|
||
}
|
||
})
|