unable to use vhtml in vite
- Vorherrschende Sprache
- JavaScript
- Sterne
- 814
- Forks
- 37
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I tried to configure vhtml in vite's vanilla javascript template but I'm unable to implement it. Please guide me on how to configure it.
```js
main.js
------
/** @jsx vhtml */
import { Counter } from "./src/counter";
document.body.innerHTML = (
);
```
```js
/** @jsx vhtml */
export function Counter() {
let count = 0;
return (
Click button
count++}>Click me
);
}
```
```html
Vite App
```

Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start with the Vite vanilla JavaScript entry shown in main.js and the src/counter example, then compare it with vhtml's configuration requirements. Verify the setup using the provided HTML entry and confirm that the JSX example builds and renders the Counter component.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, vite
- Bereich
- build-system, frontend
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100