
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
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
