If you want to see the complete source code with styling, see the nuxt-ssr-auth repository.
Other authentication methods
Appwrite also supports OAuth, passwordless login, anonymous login, and phone login. Learn more about them in the authentication guide.