Rank 1: Thread
i commented the appwrite part out. now the problem is maybe gone.
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
i commented the appwrite part out. now the problem is maybe gone.
Rank 1: Thread
weird
Rank 1: Thread
did you ever used appwrite in combination with nuxt 3?
Rank 1: Thread
and would you recommend to npm install appwrite
Rank 1: Thread
or would you "npm install nuxt-appwrite"?
Rank 1: Thread
my problem with "nuxt-appwrite" was that i couldn't install the appwrite cli and do the following steps:
appwrite init project
appwrite init function
appwrite deploy function
Yes
You can see also hete an example of project
Rank 1: Thread
omg! the problem is back
What is the output it here
Rank 1: Thread
everytime when i use the appwrite cli with the following commands:
appwrite init project
appwrite init function
appwrite deploy function
What's error you're getting?
Rank 1: Thread
Rank 1: Thread
weird isn't it?
Rank 1: Thread
so i only get problems when i want to use appwrite functions
I think I'm lost a bit.
Are you deploying nuxt into Appwrite function?
Rank 1: Thread
nope
Rank 1: Thread
you know what
Rank 1: Thread
i just realized that the nuxt demo is the only one where the Server Side Login and Refresh doesn't work. In all demos it's working. Only Nuxt not:
Rank 1: Thread
i need to go to bed. i'm gonna check tomorrow my code again
Admin
@Meldiron is there a bug?
Rank 1: Thread
Good question 🙂
Rank 1: Thread
i found a solution. i need to put the new Client function in a onBeforeMount Lifecycle Hook. Does anybody has a answer why?
onBeforeMount(() => {
client.value = new Client();
client.value
.setEndpoint("https://cloud.appwrite.io/v1")
.setProject("***");
account.value = new Account(client.value);
});
Seems like. Ill make myself note to check it