Getting Started With Remix and Netlify Graph

Remix

Create a new Remix site. Choose "Netlify" when prompted:

$ npx create-remix@latest

Netlify CLI

Install the latest version of Netlify CLI:

$ npm i -g netlify-cli@latest
$ ntl login

Change directory to your new project and create a new Netlify site:

$ cd [name of project]
$ ntl lnit

Start Development Server

Start Netlify Dev Server with --graph:

$ ntl dev --graph

Create a GraphQL query with Graph Explorer

Select your site from your Netlify team dashboard and then select “Graph” from your Netlify site dashboard menu.

image

Comments

Leave a new comment