企业官网
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.
 
 
 
 

58 lines
1.2 KiB

export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
modules: [
'motion-v/nuxt',
'@nuxtjs/tailwindcss',
'shadcn-nuxt',
'@nuxt/icon',
'nuxt-swiper',
],
devtools: { enabled: true },
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
css: ['~/assets/styles/main.css'],
vite: {
plugins: [
],
},
app: {
head: {
title: 'EM系列储能边缘智能网关-比特电科',
meta: [
{
name: 'description',
content: 'EM系列储能边缘智能网关-比特电科',
},
{
name: 'keywords',
content: 'EM系列储能边缘智能网关-比特电科',
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1.0',
},
],
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico',
},
],
noscript: [
{
innerHTML: 'JavaScript is required',
},
],
},
},
devServer: {
port: 3300, // 设置开发服务器端口
host: '0.0.0.0', // 可选:允许外部访问
},
})