Skip to content

netlify/remix-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 25, 2024
2efe12a · Sep 25, 2024
Feb 21, 2024
May 11, 2024
Apr 19, 2022
Sep 5, 2024
Feb 21, 2024
Feb 21, 2024
Feb 21, 2024
Feb 22, 2024
Feb 21, 2024
Sep 25, 2024
Sep 25, 2024
Feb 21, 2024

Repository files navigation

Netlify Remix Template

Welcome to the Netlify Remix Template project. If you were expecting this to be your site, run remix init in the root of this project to get started.

To use the template, run

npx create-remix@latest --template netlify/remix-template

This project includes:

  • Netlify Functions template for Remix sites
  • Netlify Edge Functions template for Remix sites

From the create-remix command, you may pass --netlify-edge or --no-netlify-edge to generate a template that uses Netlify Edge or Serverless functions explicitly. Without passing this option, the create workflow will ask you which you would prefer.

Development

There is no need to run npm install as this is a template. The Remix CLI will install the dependencies for you. Make changes to files as you see fit. If there are transformations for files for either the Netlify Functions or Netlify Edge Functions template, make the appropriate changes to the remix.init/index.js file.

If you're new to Remix stacks and the remix.init concept, see the official Remix Stacks documentation.

Testing your changes

Run

npx create-remix@latest --template ./remix-template

to test your changes to the template. Follow the steps the Remix CLI prompts you with to create a new project. Ensure to test for both the Netlify Functions template and the Netlify Edge Functions template.