nuxt.config.ts
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
runtimeConfig: {
public: {
baseUrl: 'http://aitoolht.crgx.net',
}
},
devtools: { enabled: true },
modules: [
'@nuxtjs/tailwindcss',
'@element-plus/nuxt'
],
devServer: {
host: 'localhost',
port: 3666
},
css: [
'~/assets/iconfonts/iconfont.css',
],
plugins: [
{ src: '~/assets/iconfonts/iconfont.js', ssr: false, mode: 'client' }
],
app: {
head: {
title: 'Annie网站',
htmlAttrs: {
lang: 'en'
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '提供市面上最简洁的导航系统' },
{ name: 'format-detection', content: 'telephone=no' },
{ name: 'keywords', content: '提供市面上最简洁的导航系统,一个完全免费的导航站'}
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
}
},
})