
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
km-card-layout-miniprogram
Advanced tools
本仓库只保留了 TDesign 小程序组件库的**编译、发布与 Demo 骨架**,方便你快速复用发布流程,再按需补充自己的组件代码。
本仓库只保留了 TDesign 小程序组件库的编译、发布与 Demo 骨架,方便你快速复用发布流程,再按需补充自己的组件代码。
src/:干净的组件源码目录,当前自带一个 demo-card 示例组件。script/gulpfile.js:精简版构建流程,负责编译 src、同步到 miniprogram_dist,并把结果拷贝到 Demo。example/:最小可运行示例,会自动依赖 miniprogram_dist 中的组件。npm install
npm run dev # 实时监听 src/ 与 example/,输出到 miniprogram_dist / example_dist
npm run build # 进行一次完整的编译与 Demo 同步
首次或执行
npm run build之后,将example_dist目录导入微信开发者工具即可预览。
src/components 下复制 demo-card,调整文件名与实现代码。example/pages/home/index.json(或你自己的页面)里通过 usingComponents 引入新的组件。npm run dev,组件改动会实时同步到 Demo。npm run buildminiprogram_dist(产物)与 example_dist(示例)是否符合预期。miniprogram_dist 可直接发布到 npm / 私有仓库,example_dist 可作为 WeChat Demo。example 中编写页面示例。script/gulpfile.js(如压缩、Less、单测等)。FAQs
本仓库只保留了 TDesign 小程序组件库的**编译、发布与 Demo 骨架**,方便你快速复用发布流程,再按需补充自己的组件代码。
The npm package km-card-layout-miniprogram receives a total of 2 weekly downloads. As such, km-card-layout-miniprogram popularity was classified as not popular.
We found that km-card-layout-miniprogram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.