From eeff83ca2b1a93c6ca90ebf37eb784b5343e394a Mon Sep 17 00:00:00 2001 From: "BugMaker.Huang" Date: Tue, 18 Jun 2024 10:48:41 +0800 Subject: [PATCH] docs: docs of autoloader --- docs/guide/installation.md | 15 +++++++++++---- docs/guide/quick-start.md | 8 ++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 3c16a3df..defe3b5d 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -7,28 +7,35 @@ order: 2 ## 原生环境和非 React 框架 -NPM 安装: +### NPM 安装: ```bash npm i @banana-ui/banana ``` -CDN 引入: +### CDN 引入: ```html /* UMD Namespace: Banana */ ``` +or + +```html + + +``` + ## React -NPM 安装: +### NPM 安装: ```bash npm i @banana-ui/react ``` -CDN 引入: +### CDN 引入: ```html /* UMD Namespace: BananaReact */ diff --git a/docs/guide/quick-start.md b/docs/guide/quick-start.md index df042a94..b4695573 100644 --- a/docs/guide/quick-start.md +++ b/docs/guide/quick-start.md @@ -21,9 +21,17 @@ order: 1 ### CDN ```html + ``` +or + +```html + + +``` + ### NPM 安装 ```bash