concept each page in category svelte

appears as: each page
Svelte and Sapper in Action

This is an excerpt from Manning's book Svelte and Sapper in Action.

The “pages” of a Sapper app are defined in .svelte files that reside in the src/routes directory. The components used by these pages are defined in .svelte files that reside in the src/components directory. Navigation between pages is implemented with plain HTML anchor elements (<a>) that specify a page name in their href attribute.

End-to-end tests are intended to test an application in the same way that a user would interact with it. This includes logging in (if the app requires it), navigating to each page within the app (if there are multiple pages), and generally putting the app into each of the states a user would encounter. We will cover implementing end-to-end tests using the Cypress testing framework.

<svelte:head>
  <title>Shop</title>
</svelte:head>
 
<h1>Shop</h1>
Figure 21.11 About page