Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(template): add did wallet dapp template #361

Merged
merged 9 commits into from
Sep 26, 2024
Merged

Conversation

xiaomoziyi
Copy link
Contributor

@xiaomoziyi xiaomoziyi commented Sep 25, 2024

Relates Issue

Main changes

  1. 新增 did wallet dapp 模板
  2. 优化: 新增mergeReadme, 将重复性Readme 单独提取到公共部分,支持
  • 通过变量覆盖 base-readme 变量内容
  ## PROJECT_DESCRIPTION
 项目描述
  ## FILE_STRUCTURE
 文件结构
  • 段落变量名一致覆盖 base-readme 原有段落内容
## Development
这里的内容将覆盖原有的 development 段落
// 如果为空,表示去除原有的 development 段落

需注意,变量或者段落覆盖,都是 ## [name] 二级标题来识别

Screenshots

create:
image

首页:
image

个人信息:
image

未登录:
image

profile:
image

Check list

  • Project create by create-blocklet can work with npm run dev
  • Project create by create-blocklet can work with npm run deploy
  • Project create by create-blocklet can work with npm run upload
  • If a new version need to be publish, make sure you have run npm run bump-version command

packages/create-app/index.js Outdated Show resolved Hide resolved
packages/create-app/templates/did-wallet-dapp/README.md Outdated Show resolved Hide resolved
packages/create-app/templates/did-wallet-dapp/README.md Outdated Show resolved Hide resolved
packages/create-app/templates/did-wallet-dapp/README.md Outdated Show resolved Hide resolved
packages/create-app/templates/did-wallet-dapp/README.md Outdated Show resolved Hide resolved
packages/create-app/templates/did-wallet-dapp/README.md Outdated Show resolved Hide resolved
packages/create-app/templates/did-wallet-dapp/README.md Outdated Show resolved Hide resolved
packages/create-app/templates/did-wallet-dapp/blocklet.md Outdated Show resolved Hide resolved
@wangshijun
Copy link
Collaborator

blocklet 运行:

这里需要加1个正常的页面,目前这个页面是用了 profile layout?

模拟1个正常应用:

  • 登陆前
  • 登录后:功能区
  • 登录后:个人中心

@wangshijun wangshijun merged commit ebe64dd into main Sep 26, 2024
7 checks passed
@wangshijun wangshijun deleted the feat-did-wallet-dapp branch September 26, 2024 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants