Reviewed all SSR tutorials

This commit is contained in:
Vincent (Wen Yu) Ge
2024-02-12 14:59:21 -05:00
parent 0e66c8bb66
commit e332bcc0cc
9 changed files with 16 additions and 17 deletions

View File

@@ -43,7 +43,7 @@ cd my-svelte-project
npm install
```
# Adding `node-appwrite` to Your Svelte App
# Install Appwrite {% #install-appwrite %}
Appwrite provides a Node SDK that can be used in your Svelte apps. You can use Appwrite by installing the Node SDK as an NPM package.
The Node SDK is intended for server-side use. If you want to use Appwrite in a client-side application, you should [use the Web SDK instead](/docs/tutorials/svelte-auth).

View File

@@ -25,7 +25,7 @@ Add a new server route to handle the redirect.
```js
// src/routes/signin/+page.server.js
// ..
// ... existing imports
import { SESSION_COOKIE, createAppwriteClient } from '$lib/server/appwrite.js';