From c509c6794fb69bc145c1aa830cf43dd1fea49f45 Mon Sep 17 00:00:00 2001 From: zernonia Date: Tue, 9 Jan 2024 00:47:24 +0800 Subject: [PATCH] docs: update carousel for optional plugin installation --- apps/www/src/content/docs/components/carousel.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/www/src/content/docs/components/carousel.md b/apps/www/src/content/docs/components/carousel.md index 83dc12c2..c1a34a73 100644 --- a/apps/www/src/content/docs/components/carousel.md +++ b/apps/www/src/content/docs/components/carousel.md @@ -256,6 +256,11 @@ You can get the reactive slot props like `carouselRef, canScrollNext..Prev, scro You can use the `plugins` prop to add plugins to the carousel. +```bash +npm i embla-carousel-autoplay +``` + + ```vue showLineNumbers {2,8-10}