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

https://github.com/bendera/wds-plugin-directory-index

Directory index plugin for Web Dev Server
https://github.com/bendera/wds-plugin-directory-index

dev-server plugin web-dev-server

Last synced: 5 months ago
JSON representation

Directory index plugin for Web Dev Server

Awesome Lists containing this project

README

        

# Web Dev Server Directory Index Plugin

Directory index plugin for [@web/dev-server](https://modern-web.dev/docs/dev-server/overview/).

![screenshot](https://raw.githubusercontent.com/bendera/wds-plugin-directory-index/b8cacf51bd9147101c31b1c44a0898d1b1b8cbd0/screenshot.png)

## Installation

```
npm install --save-dev @bendera/wds-plugin-directory-index
```

## Usage

Add the plugin to the Web Dev Server configuration file (web-dev-server.config.mjs).

```javascript
import { directoryIndexPlugin } from '@bendera/wds-plugin-directory-index';

export default {
//...
plugins: [
directoryIndexPlugin()
]
};
```

That's it! There are no settings.