Skip to content

Commit

Permalink
Merge pull request #954 from supabase/mansueli-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
mansueli committed Jan 23, 2024
2 parents 93b5d3b + f7cd6b4 commit 2b8c05f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key
You can now use plain `<script>`s to import supabase-js from CDNs, like:

```html
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js"></script>
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
```

or even:

```html
<script src="https://unpkg.com/@supabase/supabase-js"></script>
<script src="https://unpkg.com/@supabase/supabase-js@2"></script>
```

Then you can use it from a global `supabase` variable:
Expand Down

0 comments on commit 2b8c05f

Please sign in to comment.