further clarify component

pull/7285/head
Thad Guidry 5 years ago committed by GitHub
parent 0bdc168406
commit ae3ae18add
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@ We now present you 2 files in the editor on the right (upper bar) to click on, `
Each component is a reusable self-contained block of code that encapsulates HTML, CSS, and JavaScript that belong together, written into a `.svelte` file. Each component is a reusable self-contained block of code that encapsulates HTML, CSS, and JavaScript that belong together, written into a `.svelte` file.
Let's add a `<script>` tag to `App.svelte` that imports the file and our component `Nested.svelte` to our app... Let's add a `<script>` tag to `App.svelte` that imports the file (our component) `Nested.svelte` into our app...
```html ```html
<script> <script>

Loading…
Cancel
Save