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