officialblock 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -1
- package/dist/official-block.cjs.js +186 -1
- package/dist/official-block.es.js +22619 -73
- package/dist/official-block.umd.js +186 -1
- package/dist/style.css +1 -1
- package/package.json +12 -2
- package/src/App.vue +32 -82
- package/src/components/ArticleList/article.vue +73 -0
- package/src/components/ArticleList/contact.vue +95 -0
- package/src/components/ArticleList/index.vue +215 -48
- package/src/components/ArticleList/setting.vue +407 -0
- package/src/components/Button/index.vue +183 -0
- package/src/components/Media/index.vue +327 -0
- package/src/components/Operate/index.vue +74 -0
- package/src/components/RichTextEditor/RichTextEditor.vue +277 -0
- package/src/components/RichTextEditor/index.ts +7 -0
- package/src/components/ThemePreview/ThemePreview.vue +462 -0
- package/src/components/ThemePreview/index.ts +4 -0
- package/src/components/index.ts +3 -0
- package/src/composables/useTheme.ts +205 -0
- package/src/index.ts +15 -4
- package/src/main.ts +16 -1
- package/src/router/index.ts +84 -0
- package/src/style.css +0 -1
- package/src/styles/editor.scss +649 -0
- package/src/styles/test.scss +20 -0
- package/src/styles/variables.scss +639 -0
- package/src/utils/common.ts +13 -0
- package/src/utils/theme.ts +335 -0
- package/src/views/Layout.vue +247 -0
- package/src/views/NotFound.vue +114 -0
- package/src/views/components/ArticleListDemo.vue +167 -0
- package/src/views/components/HeroSlideDemo.vue +353 -0
- package/src/views/components/RichTextEditorDemo.vue +53 -0
- package/src/views/components/ThemeDemo.vue +477 -0
- package/src/views/guide/Installation.vue +234 -0
- package/src/views/guide/Introduction.vue +174 -0
- package/src/views/guide/QuickStart.vue +265 -0
package/README.md
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
# OfficialBlock
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
一个基于 Vue 3 + TypeScript 的组件库,提供高质量的 UI 组件。
|
|
4
|
+
|
|
5
|
+
## 📖 文档
|
|
6
|
+
|
|
7
|
+
本项目包含完整的在线文档系统,类似 Element Plus 官方文档的设计:
|
|
8
|
+
|
|
9
|
+
- **开发指南**:介绍、安装、快速开始
|
|
10
|
+
- **组件文档**:每个组件的详细使用说明和 API 文档
|
|
11
|
+
- **在线演示**:可交互的组件示例
|
|
12
|
+
|
|
13
|
+
### 本地查看文档
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# 克隆项目
|
|
17
|
+
git clone <your-repo-url>
|
|
18
|
+
cd OfficialBlock
|
|
19
|
+
|
|
20
|
+
# 安装依赖
|
|
21
|
+
npm install
|
|
22
|
+
|
|
23
|
+
# 启动文档服务器
|
|
24
|
+
npm run dev
|
|
25
|
+
|
|
26
|
+
# 访问 http://localhost:5166
|
|
27
|
+
```
|
|
4
28
|
|
|
5
29
|
## Installation
|
|
6
30
|
|