Skip to content

HiKaylum/canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0a492e0 · Aug 15, 2022

History

13 Commits
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022
Aug 15, 2022

Repository files navigation

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