diff --git a/site/content/docs/01-component-format.md b/site/content/docs/01-component-format.md new file mode 100644 index 0000000000..94c19c2e44 --- /dev/null +++ b/site/content/docs/01-component-format.md @@ -0,0 +1,34 @@ +--- +title: Component format +--- + +Components are the building blocks of Svelte applications. They are written into `.svelte` files, using a superset of HTML: + +```html + + + + + +``` + +All three sections — script, styles and markup — are optional. + + +### Script + +A `