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
- Host: GitHub
- URL: https://github.com/bendera/wds-plugin-directory-index
- Owner: bendera
- License: mit
- Created: 2024-11-09T20:52:00.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-19T19:32:52.000Z (7 months ago)
- Last Synced: 2024-12-20T13:19:23.064Z (6 months ago)
- Topics: dev-server, plugin, web-dev-server
- Language: JavaScript
- Homepage:
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/).

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