Files
shop-platform/docs/dev.md
2025-11-05 18:35:17 +08:00

13 lines
340 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 开发指引
## View模板中的定义
```
<!-- 例如在html模板中引入route.js MERCHANT_JS是一个动态变量会被替换为实际的路径 -->
<script src="MERCHANT_JS/route.js"></script>
```
这个变量是在 src\app\event\init\InitConfig.php 中定义的,会在系统初始化时被替换为实际的路径。