Update doc & comments references to src folder

This commit is contained in:
Andreas Andreou
2019-07-21 20:06:38 +03:00
committed by Conduitry
parent ea80882770
commit 190168b8a1
2 changed files with 3 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ There are three simple rules for naming the files that define your routes:
The [static](static) directory contains any static assets that should be available. These are served using [sirv](https://github.com/lukeed/sirv).
In your [service-worker.js](app/service-worker.js) file, you can import these as `files` from the generated manifest...
In your [service-worker.js](src/service-worker.js) file, you can import these as `files` from the generated manifest...
```js
import { files } from '@sapper/service-worker';

View File

@@ -22,10 +22,10 @@
</head>
<body>
<!-- The application will be rendered inside this element,
because `app/client.js` references it -->
because `src/client.js` references it -->
<div id='sapper'>%sapper.html%</div>
<!-- Sapper creates a <script> tag containing `app/client.js`
<!-- Sapper creates a <script> tag containing `src/client.js`
and anything else it needs to hydrate the app and
initialise the router -->
%sapper.scripts%