Skip to content

Commit

Permalink
feat: 增加了示例
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsGoo committed May 3, 2024
1 parent 64c89ca commit 3d8548f
Show file tree
Hide file tree
Showing 8 changed files with 78 additions and 3 deletions.
34 changes: 31 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ packages:
- packages/designer/**
- examples/
- resource/**
- resources/**
- docs/
- mock/
9 changes: 9 additions & 0 deletions resource/Basic/Image/mainfest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Image",
"title": "图片",
"category": "BASIC",
"metaData": {
"width": 200,
"height": 200
}
}
9 changes: 9 additions & 0 deletions resource/Basic/Video/FlvVideo/mainfest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "FlvVideo",
"title": "视频",
"category": "BASIC",
"metaData": {
"width": 400,
"height": 225
}
}
9 changes: 9 additions & 0 deletions resource/Border/BorderBox1/mainfest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "BorderBox1",
"title": "1#边框'",
"category": "BORDER",
"metaData": {
"width": 200,
"height": 200
}
}
9 changes: 9 additions & 0 deletions resource/Border/BorderBox2/mainfest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "BorderBox2",
"title": "2#边框'",
"category": "BORDER",
"metaData": {
"width": 200,
"height": 200
}
}
9 changes: 9 additions & 0 deletions resource/Border/BorderBox3/mainfest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "BorderBox3",
"title": "3#边框'",
"category": "BORDER",
"metaData": {
"width": 200,
"height": 200
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"types": ["vite/client"],
"checkJs": true,
"skipLibCheck": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"noImplicitAny": false, // 允许隐式的any类型(某些第三方库有隐式的any类型)
"strictNullChecks": true, // 不允许把null、undefined赋值给其他类型的变量
Expand Down

0 comments on commit 3d8548f

Please sign in to comment.