Closed sannanansari closed 1 year ago
can work on this issue?
@sannanansari, thanks for creating this issue! ๐๐ผ
I don't think you should be importing Appwrite
. Where do you see that you need to import Appwrite
?
@stnguyen90 Thanks. currently for importing appwrite we use
import { Client } from 'Appwite'
with respect to angular @stnguyen90.
It better we use Appwrite inplace of Client
I don't think you should be importing Appwrite. Where do you see that you need to import Appwrite?
Here:- https://github.com/appwrite/demo-todo-with-angular/blob/main/src/app/helpers/api.ts
@sannanansari, that code sample you linked uses an old SDK version, which exports Appwrite
. If you want, you can use an alias like:
import { Client as Appwrite } from 'appwrite';
@sannanansari, is there anything else or can this be closed?
While installing the appwrite in angular, I am getting following error