vite-plugin-domo-proxy
Version:
Native vite plugin to proxy requests through the vite-dev-server to domo
48 lines (30 loc) • 1.27 kB
Markdown
`vite-plugin-domo-proxy` is a Vite plugin designed to proxy requests to Domo APIs during development. This allows for seamless integration and testing of Domo data within your Vite-powered applications.
Install `vite-plugin-domo-proxy` as a development dependency:
```bash
npm install vite-plugin-domo-proxy --save-dev
yarn add vite-plugin-domo-proxy --dev
```
- A properly configured `public/manifest.json` file required by Domo.
- Authentication via the Domo CLI (`domo login` must be completed).
- A Vite-powered development environment.
## Features
- Proxies requests to Domo APIs for a seamless development experience.
- Simplifies integration with Domo environments by removing boilerplate dependencies.
- Works out of the box with the Domo CLI and `public/manifest.json`.
## Usage
Add the plugin to your `vite.config.js`:
```javascript
import domoProxy from "vite-plugin-domo-proxy";
export default defineConfig({
plugins: [domoProxy()],
});
```
This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.
Contributions are welcome! Please open an issue or submit a pull request for any changes.