add readme 和注释

This commit is contained in:
DevWiki 2024-03-07 11:53:57 +08:00
parent 5e79ba416a
commit f23b41ffa1
17 changed files with 32 additions and 4 deletions

View File

@ -1,6 +1,9 @@
{
// app的构建配置
"app": {
//签名配置
"signingConfigs": [],
//产品配置
"products": [
{
"name": "default",
@ -10,6 +13,7 @@
"runtimeOS": "HarmonyOS",
}
],
//构建类型集合
"buildModeSet": [
{
"name": "debug",
@ -19,10 +23,15 @@
}
]
},
//组件集合
"modules": [
// app组件
{
// 组件名称
"name": "app",
// 组件源码位置
"srcPath": "./app",
// 构建目标
"targets": [
{
"name": "default",
@ -32,9 +41,10 @@
}
]
},
//shareLib组件
{
"name": "shareLib",
"srcPath": "./shareLib",
"name": "common_ui",
"srcPath": "./common_ui",
"targets": [
{
"name": "default",

View File

@ -1,5 +1,5 @@
{
"name": "sharelib",
"name": "common_ui",
"version": "1.0.0",
"description": "Please describe the basic information.",
"main": "Index.ets",

View File

@ -1,6 +1,6 @@
{
"module": {
"name": "shareLib",
"name": "common_ui",
"type": "shared",
"description": "$string:shared_desc",
"deviceTypes": [

View File

@ -1,12 +1,20 @@
{
//项目名称
"name": "hm4demo",
//项目版本号
"version": "1.0.0",
//项目描述
"description": "Please describe the basic information.",
//
"main": "",
//作者信息
"author": "",
//
"license": "",
//依赖配置
"dependencies": {
},
//开发依赖配置
"devDependencies": {
"@ohos/hypium": "1.0.15",
"@ohos/hamock": "1.0.0-rc"

10
readme.md Normal file
View File

@ -0,0 +1,10 @@
# 项目概要
本项目模块分为:
- app: 主入口模块
- common_ui : 通用UI动态共享库模块
## app模块
## common ui模块