forked from gxwebsoft/websoft-cms
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.
39 lines
1.3 KiB
39 lines
1.3 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'],
|
|
css: [
|
|
'element-plus/dist/index.css',
|
|
'element-plus/theme-chalk/display.css',
|
|
'@/assets/css/main.css',
|
|
],
|
|
app: {
|
|
head: {
|
|
viewport: 'width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no',
|
|
title: '淳渔影视CMS-Nodejs快速搭建影视类网站',
|
|
meta: [
|
|
{ name: 'keywords', content: '淳渔影视,最新电影,最新电视剧' },
|
|
{
|
|
name: 'description',
|
|
content: '淳渔影视更新最快的影视网站之一,收集了全网最新高分电影,电视剧,综艺,动漫等热播剧目免费在线观看!'
|
|
}
|
|
],
|
|
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
|
|
}
|
|
},
|
|
runtimeConfig: {
|
|
public: {
|
|
apiBase: '/server',
|
|
globalTitle: '淳渔影视'
|
|
}
|
|
},
|
|
nitro: {
|
|
// 该配置用于服务端请求转发
|
|
routeRules: {
|
|
'/server/**': {
|
|
proxy: 'http://127.0.0.1:9001/api/**'
|
|
}
|
|
}
|
|
}
|
|
})
|