
I need to use Vanilla Javascript to sign in user and also createJwt(). I have added the cdn script to use the appwrite in my scripts Tag as required, however, I am getting error that Client, Account, etc are not found.
Also I can't use import... In Vanila Javascript (not in a node environment)
I'm the TypeScript lover and hates using vanilla JS for many reasons, but it's required in this case.

@Moderator

It's not needed to ping all the moderators 😅

I think adding this like to the start of the code should solve the issue:
import { Client, Account } from 'appwrite';
Recommended threads
- Two steps signIn with one user:
'm using appwrite to try two phase login, step 1: await account.createAnonymousSession(); or final appwriteUser = await account.create( ...
- I am trying to run appwrite storage list...
Hello! I am trying to use a command to return all of my files from my bucket. This is the cmd I am currently running: "appwrite storage list-files --bucket-id <...
- nextjs site template gets 500 for /v1/pi...
whats the right way to configure this? do i need to deploy a function? im loosing my hair and i can't get a nextjs site to work. pls help
