Restructure the single-file demo into a Vite project: - src/logo.js: framework-agnostic core (shadow-layer geometry, inline text-shadow, generated CSS snippet, defaults, font list) - src/main.js: DOM wiring (state read, live render, copy, native reset) - src/style.css, index.html: markup + styles with the accessibility fixes (labels, aria, <details>/<summary>, <form> reset, focus rings) The original single-file version lives on the 'html' branch. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 lines
144 B
JavaScript
6 lines
144 B
JavaScript
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
// index.html at project root is the single entry; defaults are fine.
|
|
});
|