32 lines
542 B
Markdown
32 lines
542 B
Markdown
# nextjs-package-manager-example-app
|
|
|
|
branch: `nextjs-package-manager/pnpm`
|
|
|
|
This repo is for testing building `Next.js` app with different package managers. This branch uses [pnpm](https://pnpm.io) as the package manager.
|
|
|
|
## Getting Started
|
|
|
|
First, install the dependencies:
|
|
|
|
```zsh
|
|
pnpm install
|
|
```
|
|
|
|
## Development
|
|
|
|
First, run the development server:
|
|
|
|
```zsh
|
|
pnpm dev
|
|
```
|
|
|
|
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
|
|
## Production
|
|
|
|
To build the app for production, run:
|
|
|
|
```zsh
|
|
pnpm build
|
|
```
|