Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanflorence/remix-hn
Demo repository for Next.js + React server components
https://github.com/ryanflorence/remix-hn
Last synced: 4 months ago
JSON representation
Demo repository for Next.js + React server components
- Host: GitHub
- URL: https://github.com/ryanflorence/remix-hn
- Owner: ryanflorence
- Fork: true (vercel/next-react-server-components)
- Created: 2021-12-07T16:11:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-08T02:09:24.000Z (about 3 years ago)
- Last Synced: 2024-08-01T19:46:53.055Z (7 months ago)
- Language: JavaScript
- Homepage: https://next-news-rsc.vercel.sh
- Size: 183 KB
- Stars: 109
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Remix!
- [Remix Docs](https://remix.run/docs)
## Deployment
After having run the `create-remix` command and selected "Vercel" as a deployment target, you only need to [import your Git repository](https://vercel.com/new) into Vercel, and it will be deployed.
If you'd like to avoid using a Git repository, you can also deploy the directory by running [Vercel CLI](https://vercel.com/cli):
```sh
npm i -g vercel
vercel
```It is generally recommended to use a Git repository, because future commits will then automatically be deployed by Vercel, through its [Git Integration](https://vercel.com/docs/concepts/git).
## Development
To run your Remix app locally, make sure your project's local dependencies are installed:
```sh
npm install
```Afterwards, start the Remix development server like so:
```sh
npm run dev
```Open up [http://localhost:3000](http://localhost:3000) and you should be ready to go!
If you're used to using the `vercel dev` command provided by [Vercel CLI](https://vercel.com/cli) instead, you can also use that, but it's not needed.