您好,
请参考官方博客:https://blog.csdn.net/supermapsupport/article/details/119785454
希望能够帮助到您。
配置示例参考https://blog.csdn.net/supermapsupport/article/details/103312833,示例基于vue2编写,在vue3中开发配置步骤一致。