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:27:54 +00:00
branch: `nextjs-package-manager/npm`
2024-04-12 03:57:56 +00:00
2024-04-12 04:27:54 +00:00
This repo is for testing building `Next.js` app with different package managers. This branch uses [npm ](https://www.npmjs.com/ ) as the package manager.
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 04:10:39 +00:00
npm install
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 04:10:39 +00:00
npm run dev
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 04:10:39 +00:00
npm run build
2024-04-12 04:07:39 +00:00
```