This example shows the most basic idea behind Next. We have 2 pages: pages/index.js
and pages/about.js
. The former responds to /
requests and the latter to /about
. Using next/link
you can add hyperlinks between them with universal routing capabilities. The day
directory shows that you can have subdirectories.
Deploy the example using Vercel:
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example hello-world hello-world-app
# or
yarn create next-app --example hello-world hello-world-app
Deploy it to the cloud with Vercel (Documentation).
-
email: "[email protected]" password: "password1"
-
email: "[email protected]" password: "password2"
-
email: "[email protected]" password: "password3"
-
email: "[email protected]" password: "password4"
-
email: "[email protected]" password: "password5"
-
email: "[email protected]" password: "password6"
-
email: "[email protected]" password: "password7"
-
email: "[email protected]" password: "password8"
-
email: "[email protected]" password: "password9"
-
email: "[email protected]" password: "password10"
there's a bug in editing dish flow, because of that consider adding uploading a image for the dish every time you update the dish