https://github.com/itvincent-git/nextjs-learning
https://github.com/itvincent-git/nextjs-learning
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/itvincent-git/nextjs-learning
- Owner: itvincent-git
- Created: 2023-02-03T10:17:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T10:18:48.000Z (over 3 years ago)
- Last Synced: 2025-10-29T13:58:06.653Z (9 months ago)
- Language: CSS
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Use to learn next.js
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```
## Deploy
First, export the static html:
```shell
pnpm export
```
then Run with nginx in docker:
```shell
docker run -it --rm -d -p 8080:80 --name web -v ~/nextjs-learning/out:/usr/share/nginx/html nginx
```