Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit b90e8c2

Browse files
committed
README: Fix instructions for local preview
Use `netlify dev` rather than `netlify-cli dev` to preview next-on-netlify locally. `netlify-cli dev` will **not** work.
1 parent 4aad3df commit b90e8c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Now you're all set.
103103
From now on, whenever you want to preview your application locally, just run:
104104
1. `next build` to build your NextJS app
105105
1. then `next-on-netlify` to prepare it for compatibility with Netlify
106-
1. and then `netlify-cli dev` to preview your app as if it was hosted on Netlify
106+
1. and then `netlify dev` to preview your app as if it was hosted on Netlify
107107

108108
#### Add Custom Redirects
109109

0 commit comments

Comments
 (0)