From fe66c5c8ef693eb3ca20e63a17302f665d8b96c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Wed, 1 Feb 2023 12:43:59 +0100 Subject: [PATCH] chore: add demo on top --- docs/4.examples/0.basics/hello-world.md | 3 ++- docs/4.examples/2.integrations/1.supabase.md | 7 ++++--- docs/4.examples/3.ui/1.daisyui.md | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/4.examples/0.basics/hello-world.md b/docs/4.examples/0.basics/hello-world.md index ccfbb04937..8a8146d3b3 100644 --- a/docs/4.examples/0.basics/hello-world.md +++ b/docs/4.examples/0.basics/hello-world.md @@ -6,6 +6,7 @@ toc: false A minimal Nuxt 3 application only requires the `app.vue` and `nuxt.config.js` files. +:demo{src="https://hello-world.example.nuxt.space/"} + :sandbox{repo="nuxt/examples" branch="main" dir="hello-world" file="app.vue"} -:demo{src="https://hello-world.example.nuxt.space/"} diff --git a/docs/4.examples/2.integrations/1.supabase.md b/docs/4.examples/2.integrations/1.supabase.md index 5ededa81a0..9c59849080 100644 --- a/docs/4.examples/2.integrations/1.supabase.md +++ b/docs/4.examples/2.integrations/1.supabase.md @@ -4,10 +4,11 @@ toc: false # Supabase -A demonstration of [Supabase](https://supabase.com/) integration with Nuxt. +A demonstration of [Supabase](https://supabase.com/) integration with Nuxt, it cannot be embedded because of GitHub login. -:sandbox{repo="nuxt-modules/supabase" branch="main" dir="demo" file="app.vue"} -The demo cannot be embedded and is available on https://n3-supabase.netlify.app +Demo: https://n3-supabase.netlify.app [![Supabase demo](https://user-images.githubusercontent.com/904724/215534066-6e4b97d2-6ea2-4176-b2ce-d5b1939bfb55.png)](https://n3-supabase.netlify.app/) + +:sandbox{repo="nuxt-modules/supabase" branch="main" dir="demo" file="app.vue"} diff --git a/docs/4.examples/3.ui/1.daisyui.md b/docs/4.examples/3.ui/1.daisyui.md index 7b199355e2..7401dd9953 100644 --- a/docs/4.examples/3.ui/1.daisyui.md +++ b/docs/4.examples/3.ui/1.daisyui.md @@ -6,6 +6,7 @@ toc: false A demonstration of [daisyUI](https://daisyui.com/) integration with Nuxt. +:demo{src="https://daisyui.example.nuxt.space/"} + :sandbox{repo="nuxt/examples" branch="main" dir="ui/daisyui" file="app.vue"} -:demo{src="https://daisyui.example.nuxt.space/"}