# 快速上手
兼容性提示
Web Component 模式不支持 IE11 及更低版本。 更多细节
# 获取您的 app-key 和 secret
# 获取用于产生签名的代码
# 实现后端代码
public function index()
{
return view('legend');
}
# 实现前端代码
- 从外部导入 Vue。
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.11"></script>
<script src="https://www.legendtrading.com/jssdk/legend-trade.min.js"></script>
<!-- use in plain HTML, or in any other framework -->
<legend-trade app-key="xxxxxxxx" sign="0123456789ABCDEF"></legend-trade>
- 从 SDK 导入 Vue。
<script src="https://www.legendtrading.com/jssdk/legend-trade-full.min.js"></script>
<!-- use in plain HTML, or in any other framework -->
<legend-trade-full app-key="xxxxxxxx" sign="0123456789ABCDEF"></legend-trade-full>