Skip to content

Commit

Permalink
Add mention to env var prefix for Next.js users
Browse files Browse the repository at this point in the history
  • Loading branch information
CaroFG committed Aug 23, 2023
1 parent c7a2345 commit 1e8de32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions learn/cookbooks/vercel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ Go back to your project settings and check the new Meilisearch environment varia

![Display the environment variables in the project settings](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/vercel/07.project-settings-environment-variables-tab.png)

<Capsule intent="tip">
When using Next.js, ensure you prefix your browser-accessible environment variables with `NEXT_PUBLIC_`. This makes them available to the browser side of your application.
</Capsule>

## Take advantage of the Meilisearch Cloud dashboard

![Meilisearch Cloud dashboard: overview of the "search-app" project](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/vercel/08.meilisearch-cloud-dashboard.png)
Expand Down

0 comments on commit 1e8de32

Please sign in to comment.