> For the complete documentation index, see [llms.txt](https://builtwithluv.gitbook.io/mockit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://builtwithluv.gitbook.io/mockit/advance/using-with-webpack-dev-server.md).

# Using with webpack-dev-server

{% code title="webpack.dev.js" %}

```javascript
module.exports = {
    ...,
    devServer: {
        proxy: {
            '/': 'http://localhost:3000',
        }
    }
};
```

{% endcode %}
