A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://nx.dev/technologies/vue/nuxt/recipes/deploy-nuxt-to-vercel below:

Website Navigation


Deploying Nuxt applications to Vercel

apps/my-app/nuxt.config.ts

import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; import { defineNuxtConfig } from 'nuxt/config'; export default defineNuxtConfig({ workspaceDir: '../../', srcDir: 'src', devtools: { enabled: true }, buildDir: '../../dist/apps/my-app/.nuxt', devServer: { host: 'localhost', port: 4200, }, typescript: { typeCheck: true, tsConfig: { extends: './tsconfig.app.json', }, }, imports: { autoImport: false, }, css: ['~/assets/css/styles.css'], vite: { plugins: [nxViteTsPaths()], }, nitro: { preset: 'vercel', output: { dir: '../../.vercel/output', }, }, });


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4