@lark-apaas/coding-template-vite-react 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +0,0 @@
1
- # shared/static/
2
-
3
- ⚠️ **此目录资源经鉴权访问**——由平台托管在私有源,仅登录用户可拉取。请勿放公开资源。
4
-
5
- ## 与其他资源目录的区分
6
-
7
- | 目录 | 访问 | 部署目标 | 适用场景 |
8
- |---|---|---|---|
9
- | `src/assets/` | 代码 `import` | 随 JS 一起进 CDN | 图标、被组件 import 的小图(多数情况选这里) |
10
- | `public/` | 公网匿名可访问 | 公网 CDN | favicon、被外部按固定 URL 引用的资源 |
11
- | `shared/static/` | 需应用鉴权 | 私有源 | 仅登录用户可见的图片、PDF、配置文件等 |
12
-
13
- ## 引用方式
14
-
15
- `shared/static/` 下文件**不要**用 `/shared/static/foo.png` 这种相对路径直接引用——浏览器无法匿名访问。
16
- 应通过平台运行时 SDK 拿到带 token 的 URL 后再使用。
@@ -1,16 +0,0 @@
1
- [2026-05-29 12:03:06] [client]
2
- [2026-05-29 12:03:06] [client] VITE v8.0.14 ready in 862 ms
3
- [2026-05-29 12:03:06] [client]
4
- [2026-05-29 12:03:06] [client] ➜ Local: http://localhost:18121/
5
- [2026-05-29 12:03:06] [client] ➜ Network: http://100.82.232.112:18121/
6
- [2026-05-29 12:07:49] [client] 12:07:49 PM [vite] (client) Re-optimizing dependencies because vite config has changed
7
- [2026-05-29 12:07:49] [client]
8
- [2026-05-29 12:07:49] [client] VITE v8.0.14 ready in 785 ms
9
- [2026-05-29 12:07:49] [client]
10
- [2026-05-29 12:07:49] [client] ➜ Local: http://localhost:18130/app/app_demo123/
11
- [2026-05-29 12:07:49] [client] ➜ Network: http://100.82.232.112:18130/app/app_demo123/
12
- [2026-05-29 12:16:49] [client]
13
- [2026-05-29 12:16:49] [client] VITE v8.0.14 ready in 717 ms
14
- [2026-05-29 12:16:49] [client]
15
- [2026-05-29 12:16:49] [client] ➜ Local: http://localhost:18131/app/x/
16
- [2026-05-29 12:16:49] [client] ➜ Network: http://100.82.232.112:18131/app/x/