3.4.2 • Published 9 months ago

@netlify/remix-edge-adapter v3.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Remix Edge Adapter for Netlify

The Remix Edge Adapter for Netlify allows you to deploy your Remix app to Netlify Edge Functions.

Usage

It is strongly advised to use the Netlify Remix template to create a Remix site for deployment to Netlify. See Remix on Netlify for more details and other options.

However, if you are using Remix Vite, you can instead deploy your existing site to Netlify by following these steps:

  1. Add dependencies on @netlify/remix-edge-adapter and @netlify/remix-runtime
  2. Use the Netlify Remix edge Vite plugin in your Vite config:
// vite.config.js
import { vitePlugin as remix } from "@remix-run/dev";
import { netlifyPlugin } from "@netlify/remix-edge-adapter/plugin";

export default defineConfig({
  plugins: [remix(), netlifyPlugin(),
});
  1. Add an app/entry.jsx (.tsx if using TypeScript) with these contents:
// app.entry.jsx or .tsx
export { default } from 'virtual:netlify-server-entry'

Hydrogen

Hydrogen Vite sites are supported and automatically detected. However, additional setup is required. See https://github.com/netlify/hydrogen-template for details.

3.4.2

9 months ago

3.4.1

9 months ago

3.4.0

9 months ago

3.3.0

1 year ago

3.2.4

1 year ago

3.2.3

1 year ago

3.2.2

1 year ago

3.2.1

1 year ago

3.2.0

1 year ago

3.2.0-0

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago