基于Java spring + vue3 + nuxt构建的内容管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

56 lines
1.6 KiB

// 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: '网宿软件 - 基于Java Spring、Vue3、Antd、Nuxt构建的现代WEB开发框架',
meta: [
{ name: 'keywords', content: '小象CMS,websoftCMS,企业网站,网站源码,java,nuxt,antd,vue3' },
{
name: 'description',
content: '网宿软件'
}
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
}
},
devServer: {
port: 10123
},
// nitro: {
// devProxy: {
// "/api": {
// target: 'http://127.0.0.1:9001/api',
// prependPath: true,
// changeOrigin: true,
// }
//
// }
// }
// runtimeConfig: {
// public: {
// apiBase: '/api',
// globalTitle: '网宿软件'
// }
// },
// nitro: {
// // 该配置用于服务端请求转发
// routeRules: {
// '/api/**': {
// proxy: 'https://modules.gxwebsoft.com/api/**'
// }
// }
// }
})