unable to use vhtml in vite
- Lingua principale
- JavaScript
- Stelle
- 814
- Fork
- 37
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
```

Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, vite
- Ambito
- build-system, frontend
- Tipo di issue
- Documentazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100