From 81acdd18cccb23ef454823bf93ff93dc11f98132 Mon Sep 17 00:00:00 2001 From: Ronan Berder Date: Mon, 28 Jul 2025 18:30:52 +0800 Subject: [PATCH] Fixing docs (typo and navigation) --- docs/src/installation.njk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/src/installation.njk b/docs/src/installation.njk index bb6ebc9..d4eab7b 100644 --- a/docs/src/installation.njk +++ b/docs/src/installation.njk @@ -5,6 +5,11 @@ description: How to install and use Basecoat in your app. toc: - label: Install using the CDN id: install-cdn + children: + - label: Install all components + id: install-cdn-all + - label: Install specific components + id: install-cdn-specific - label: Installing using NPM id: install-npm children: @@ -43,7 +48,7 @@ toc: {% endset %} {{ code_block(code, "html") }} -

Install specific components

+

Install specific components

While the JavaScript file for all components is small (around 3kB gzipped), you can cherry-pick the components you need as instructed in the component's page (Dropdown Menu, Popover, Select, Sidebar, Tabs and Toast). For example, to add the Dropdown Menu component, add the following to the <head> of your HTML file:

@@ -140,7 +145,7 @@ import 'basecoat-css/tabs';{% endraw %}{% endset %}