Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabogit/vercel-next-hello-world
https://github.com/fabogit/vercel-next-hello-world
nextjs typescript vercel
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fabogit/vercel-next-hello-world
- Owner: fabogit
- Created: 2022-10-17T11:18:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-17T11:18:48.000Z (about 2 years ago)
- Last Synced: 2024-11-06T20:37:57.242Z (about 2 months ago)
- Topics: nextjs, typescript, vercel
- Language: TypeScript
- Homepage: https://hello-world-fabogit.vercel.app/
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello World example
This example shows the most basic idea behind Next. We have 2 pages: `pages/index.tsx` and `pages/about.tsx`. 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 your own
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/hello-world)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
```bash
npx create-next-app --example hello-world hello-world-app
``````bash
yarn create next-app --example hello-world hello-world-app
``````bash
pnpm create next-app --example hello-world hello-world-app
```Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).