Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/the-fun-framework. 🛝 An experimental homegrown JS framework. crutchcorn.github.io/the-fun-framework
Something went wrong. Try again.
the-fun-framework index.html
123456789101112131415161718192021222324<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Vite + TS</title> </head> <body> <div data-island-comp="App"> <button data-on-click="updateCount()">Count</button> <p>Count: {{count.value}}</p> <p data-if="count.value % 2 === 0">{{count.value}} is even</p> <p data-if="count.value % 2 !== 0">{{count.value}} is odd</p> <h1>Names</h1> <ul> <li data-for="item of list.value" data-key="item.key">{{item.name}}</li> </ul> <button data-on-click="addPerson()">Add person</button> </div> <script type="module" src="/example/main.ts"></script> </body></html>