This is an example demonstrating the use of @uauth/js
with SvelteKit.
-
Build your local
uauth
packages.# From the top level of the uauth repo yarn install yarn build
Or add a live version of the
@uauth/js
package to this project.# Inside this project folder yarn add @uauth/js
-
Install the project dependencies.
yarn install
-
Start the development server.
yarn dev
- lib/uauth.ts - The configuration for
@uauth/js
. - routes/index.svelte - A login page implementation.