2024-04-12 04:07:39 +00:00
|
|
|
# nextjs-package-manager-example-app
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
branch: `main`
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
This repo is for testing building `Next.js` app with different package managers. Each branch can be used to test different package managers.
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
## Getting Started
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
First, install the dependencies:
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
```zsh
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
```
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
## Development
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
First, run the development server:
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
```zsh
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
```
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
## Production
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
To build the app for production, run:
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
```zsh
|
2024-04-12 03:57:56 +00:00
|
|
|
|
2024-04-12 04:07:39 +00:00
|
|
|
```
|