
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
- OAuth2 Error: invalid success param url ...
Hi everyone! I'm trying to implement Google OAuth2 login in a React Native app (using the Android simulator) with Appwrite Cloud, and I'm getting the following ...
- Invalid credentials after migration
Hi everyone! After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when ...
- implement caching
It it possible to cache response for few minutes? I dont want to create function or implement a whole reverse server just to cache it in somewhere ?
