An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Next.js with directory listing test

![](https://raw.githubusercontent.com/statico/nextjs-with-serve-index/master/static/data/screenshot.png)

## 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).