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
13
14
15
<nav class="mb-8 flex gap-4 text-sm font-medium">
  <a class="hover:underline" href="/">Home</a>
  <a class="hover:underline" href="/counter">Counter</a>
  <a class="hover:underline" href="/hello">Hello</a>
</nav>
<main class="space-y-4">
  <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; }
  button { font: inherit; padding: 0.25rem 0.75rem; border-radius: 6px; border: 1px solid currentColor; }
  button:disabled { opacity: 0.4; }
</style>