Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hunghg255/rsbuild-plugin-svelte-inspector
Rsbuild Plugin Svelte Inspector Element
https://github.com/hunghg255/rsbuild-plugin-svelte-inspector
inspector plugin rsbuild svelte
Last synced: 2 months ago
JSON representation
Rsbuild Plugin Svelte Inspector Element
- Host: GitHub
- URL: https://github.com/hunghg255/rsbuild-plugin-svelte-inspector
- Owner: hunghg255
- License: mit
- Created: 2024-01-31T04:22:42.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-31T14:14:37.000Z (8 months ago)
- Last Synced: 2024-11-10T19:41:43.730Z (3 months ago)
- Topics: inspector, plugin, rsbuild, svelte
- Language: JavaScript
- Homepage:
- Size: 11.5 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-rspack - rsbuild-plugin-svelte-inspector
README
## Playground
[Playground](https://github.com/hunghg255/rsbuild-plugin-svelte-inspector/tree/main/playground)
## 📖 Introduction
A rsbuild plugin which provides the ability that to jump to the local IDE when you click the element of browser automatically.
## 📦 Installation
```bash
npm install rsbuild-plugin-svelte-inspector -D
```## 🦄 Usage
### Configuration in `rsbuild.config.ts`
```ts
import { defineConfig } from '@rsbuild/core';
import { pluginSvelte } from '@rsbuild/plugin-svelte';
import { pluginSvelteInspector } from 'rsbuild-plugin-svelte-inspector';export default defineConfig({
plugins: [pluginSvelte(), pluginSvelteInspector()],
});
```