首页 > 解决方案 > ol 6.9.0,无法创建生产包

问题描述

无法按照 https://openlayers.org/en/latest/doc/tutorials/bundle.html上 的说明构建生产包。开发的应用程序出现在 http://localhost:3000 / 而不是 http://localhost:1234 /,因为它是编写的。并且使用 npm run build 命令,不会创建功能性生产包。

标签: html-lists

解决方案


该存储库已更新并在此处提及并引用:

您现在可以访问 http://localhost:3000/ 来查看您的应用程序。开始更改 index.html 和 main.js 文件以添加其他功能。

您应该访问 github 页面以获取最新信息,而不是您所引用的站点。

GitHub链接:https ://github.com/openlayers/openlayers


推荐阅读