https://github.com/statico/nextjs-with-serve-index
Example of of using serve-index with Next.js
https://github.com/statico/nextjs-with-serve-index
Last synced: 12 months ago
JSON representation
Example of of using serve-index with Next.js
- Host: GitHub
- URL: https://github.com/statico/nextjs-with-serve-index
- Owner: statico
- Created: 2017-09-16T18:42:49.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-16T22:26:36.000Z (almost 9 years ago)
- Last Synced: 2025-06-30T08:47:16.375Z (12 months ago)
- Language: JavaScript
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js with directory listing test

## How to use
Download the example or clone this repo.
Install it and run:
```bash
npm install
npm run dev
```
## The idea behind the example
The [serve-index](https://github.com/expressjs/serve-index) module is useful for showing a simple directory index in an Express server. This example attempts to make it work with [Next.js](https://github.com/zeit/next.js).