🌍 Public
Viewing a saved revision (read-only)
18c5d78078b843b9b8a2e0ac9fe0c2db
HTML Starter
This example shows a minimal Svelte application that renders a simple text greeting. The code uses the Svelte framework to create a component with a reactive `name` prop, which is displayed inside an `<h1>` element. The setup also includes a separate plain HTML file that outputs “Hello HTML” alongside a console log, demonstrating the difference between Svelte’s component-based approach and static markup. The React Starter link indicates a comparable implementation exists for React.
AI-generated descriptionA bare minimum Svelte page demonstrating use of Svelte.
See also React Starter.