@lark-apaas/coding-template-react-standard-webapp
v0.1.3
Published
React standard webapp template for miaoda local development (vite + react, no platform SDK)
Readme
@lark-apaas/coding-template-react-standard-webapp
React standard webapp template for miaoda coding — 面向本地开发的纯前端模板(无平台 SDK 依赖),产物可托管部署到妙搭平台。
Tech stack: vite · react · typescript · tailwind · shadcn-ui
Usage
This package is consumed by miaoda-cli. It is not intended to be installed as a runtime dependency — the CLI fetches the tarball, renders template/ into a user project, then discards the package reference.
与 vite-react 模板的区别
基于 vite-react 母版裁剪,面向本地开发场景:
- 无任何
@lark-apaas/*运行时/构建依赖(client-toolkit-lite、coding-preset-vite-react、coding-presets-react 均已移除) - 部署协议(dist/output 分层 + routes.json)以内联插件实现在
template/vite.config.ts单文件中,可作为 custom 技术栈的协议参考实现 - 常规 scripts:
dev/build/typecheck/lint,无 wrapper 脚本,跨平台 - 本地
npm run dev零环境变量预览;托管构建仅消费MIAODA_CLIENT_BASE_PATH/MIAODA_RESOURCE_CDN_PREFIX
Contents
| Path | Purpose |
|---|---|
| template/ | Files copied to the user project at init time |
| hooks/ | Lifecycle hooks (no-op for v0.1) |
