Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 965 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 965 Bytes

Canvas

Just playing around with Svelte

Setup

You will need to create an Auth0 account and create a tenant. Once one is created click Create Application

Create Application

A popup will appear, name your app and select Single Page Web Applications.

Create Application Popup

Once this is done click on settings and add http://localhost:5173/ to the following;

  1. Allowed Callback URLs
  2. Allowed Logout URLs
  3. Allowed Web Origins

Then create a file in the root directory .env.development and add the following entries:

VITE_AUTH0_DOMAIN=AUTH0_DOMAIN_HERE
VITE_AUTH0_CLIENT_ID=AUTH0_CLIENT_ID_HERE

Once done you to start the dev server run:

# Install packages
npm i

# Run dev server
npm run dev -- --open