Skip to content

Commit 3cda2b3

Browse files
committed
Remove example component code from README to streamline documentation and focus on installation instructions.
1 parent 632b2ec commit 3cda2b3

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,6 @@
2727

2828
The plugin lets you write Svelte components directly in your `.ts` or `.js` test files. It finds every template literal whose **tag** matches a list you choose (defaults to `html` and `svelte`), compiles the markup with the Svelte compiler, and replaces it with an `import` of a virtual module that exports the compiled component. No extra files.
2929

30-
```tsx
31-
// Define a component with props right in your test file or script.
32-
const Button = html`
33-
<script>
34-
export let label;
35-
</script>
36-
37-
<button>{label}</button>
38-
`;
39-
```
40-
41-
---
42-
4330
## 🔧 Installation
4431

4532
```bash

0 commit comments

Comments
 (0)