Menu

Support for Remix with Vite - Vercel
📰

Support for Remix with Vite - Vercel

Vercel News·Nathan Rajlich·about 12 hours ago
#1yd3pR2F
#vercel#remix#vite#import#using
Reading 0:00
15s threshold

Vercel now supports deploying Remix applications using Vite.

import { vitePlugin as remix } from '@remix-run/dev' ;

import { installGlobals } from '@remix-run/node' ;

import { defineConfig } from 'vite' ;

import tsconfigPaths from 'vite-tsconfig-paths' ;

import { vercelPreset } from '@vercel/remix/vite' ;

installGlobals ( ) ;

export default defineConfig ( {

plugins : [

remix ( {

presets : [ vercelPreset ( ) ] ,

} ) ,

tsconfigPaths ( ) ,

] ,

} ) ;

Configuring your Remix application with the Vercel Vite preset.

We've collaborated with the Remix team to add Server Bundles to Remix.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.