| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- export default {
- // Global page headers (https://go.nuxtjs.dev/config-head)
- head: {
- title: '合方圆-合天地方圆',
- meta: [
- { charset: 'utf-8' },
- { name: 'viewport', content: 'width=device-width, initial-scale=1' },
- { hid: 'description', name: 'description', content: '' }
- ],
- link: [
- { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
- ]
- },
- css: [
- '@/assets/public.css'
- ],
- // Auto import components (https://go.nuxtjs.dev/config-components)
- components: true,
- // Modules for dev and build (recommended) (https://go.nuxtjs.dev/config-modules)
- buildModules: [
- '@nuxtjs/tailwindcss'
- ],
- // Modules (https://go.nuxtjs.dev/config-modules)
- modules: [
- // https://go.nuxtjs.dev/axios
- '@nuxtjs/axios',
- ],
- // api中间件
- serverMiddleware: [
- '~/server/index.js'
- ],
- // Axios module configuration (https://go.nuxtjs.dev/config-axios)
- axios: {
- proxy: true
- },
- // Build Configuration (https://go.nuxtjs.dev/config-build)
- build: {},
- server: {
- port: 8000, // default: 3000
- host: '0.0.0.0' // default: localhost
- }
- }
|