Skip to content

Commit

Permalink
feat: add sampla app code
Browse files Browse the repository at this point in the history
Signed-off-by: shenyanxiu <[email protected]>
  • Loading branch information
shenyanxiu authored and liujinye-sys committed Dec 16, 2024
1 parent 7966343 commit 6f1db97
Show file tree
Hide file tree
Showing 138 changed files with 82,876 additions and 0 deletions.
7 changes: 7 additions & 0 deletions calendar/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.nyc_output
/coverage
/node_modules
/tests/fixtures
/sign
/dist
/build
5 changes: 5 additions & 0 deletions calendar/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/.nyc_output
/coverage
/node_modules
/dist
/build
49 changes: 49 additions & 0 deletions calendar/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## 欢迎使用快应用-Vela日历模板
项目主要展示一个基础的日历示例模板

### 项目开发相关命令

#### 1. 开发

```
npm install
npm run start
```

#### 2. 构建

```
npm run build
npm run release
```

#### 3. 调试
```
npm run watch
```
### 项目目录结构(src)
```
.
├── manifest.json //描述项目配置信息的manifest 文件(关于该文件的详细说明请参考档,
│ [小米Vela快速应用框架Manifest文档](https://iot.mi.com/vela/quickapp/zh/content/framework/manifest.html))
├── app.ux //放置项目公共资源脚本的app.ux 文件
├── pages //应用主要页面代码
│ ├── index
| | └── index.ux // 万年历首页
│ ├── detail
| | └── detail.ux // 具体日期详情页(阴历,阳历,星期)
│ └── logo
| └── logo.ux // 应用加载过渡页 (logo与名称展示)
├── i18n(国际化文件夹,具体参考快应用文档)
| ├── defaults.json
| ├── zh-CN.json
| └── en-US.json
└── common //存放公共资源文件夹
```

## 了解更多

你可以通过我们的[官方文档](https://iot.mi.com/vela/quickapp)熟悉和了解快应用。

Loading

0 comments on commit 6f1db97

Please sign in to comment.