perk-cli 0.1.0

The `perk` command: create apps, add pages, check them, and run a development server that reloads on save
1
2
3
4
5
6
7
8
9
10
11
12
<nav><a href="/">Home</a> <a href="/counter">Counter</a> <a href="/hello">Hello</a></nav>
<main>
  <slot />
</main>

<style global>
  :root { color-scheme: light dark; font-family: system-ui, sans-serif; line-height: 1.5; }
  body { max-width: 40rem; margin: 2rem auto; padding: 0 1rem; }
  nav { display: flex; gap: 1rem; margin-bottom: 2rem; }
  button { font: inherit; padding: 0.25rem 0.75rem; border-radius: 6px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
  button:disabled { opacity: 0.4; cursor: default; }
</style>