Skip to content

Commit

Permalink
Cleaner readme next.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mxstbr committed Jan 16, 2024
1 parent a35699d commit 08b521f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ install all the packages and generate the files you need.
npx create-fuse-app
```

Then, run `npx fuse dev` (or `next dev` if you're using Next.js) and your API will be running at `localhost:4000/graphql`! (or `/api/fuse` in Next.js)
Then, run `npx fuse dev` and your API will be running at `localhost:4000/graphql`!

> If you are **using Next.js, you don't need to manually run `fuse dev`**. `create-fuse-app` will add a Next.js plugin to your `next.config.js/ts/mjs`` and an API route at `/api/fuse` for you to access your API. ([learn more](https://fusedata.dev/docs/setting-fuse-up-manually/nextjs))
## Querying your data layer

Expand Down
4 changes: 3 additions & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ install all the packages and generate the files you need.
npx create-fuse-app
```

Then, run `npx fuse dev` (or `next dev` if you're using Next.js) and your API will be running at `localhost:4000/graphql`! (or `/api/fuse` in Next.js)
Then, run `npx fuse dev` and your API will be running at `localhost:4000/graphql`!

> If you are **using Next.js, you don't need to manually run `fuse dev`**. `create-fuse-app` will add a Next.js plugin to your `next.config.js/ts/mjs`` and an API route at `/api/fuse` for you to access your API. ([learn more](https://fusedata.dev/docs/setting-fuse-up-manually/nextjs))
## Querying your data layer

Expand Down

1 comment on commit 08b521f

@vercel
Copy link

@vercel vercel bot commented on 08b521f Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

spacex-fuse – ./examples/spacex

spacex-fuse.vercel.app
spacex-fuse-stellate.vercel.app
spacex-fuse-git-main-stellate.vercel.app

Please sign in to comment.