html-lists - ol 6.9.0,无法创建生产包
问题描述
无法按照 https://openlayers.org/en/latest/doc/tutorials/bundle.html上 的说明构建生产包。开发的应用程序出现在 http://localhost:3000 / 而不是 http://localhost:1234 /,因为它是编写的。并且使用 npm run build 命令,不会创建功能性生产包。
解决方案
该存储库已更新并在此处提及并引用:
您现在可以访问 http://localhost:3000/ 来查看您的应用程序。开始更改 index.html 和 main.js 文件以添加其他功能。
您应该访问 github 页面以获取最新信息,而不是您所引用的站点。
推荐阅读
- dart - 使用 VSCode 创建和运行 Dart 控制台应用程序?
- amazon-web-services - 动态帧与数据帧
- android - 如何从 Android 应用向 Google 助理发送文本查询
- java - 我在 java 中使用 UDP Socket 编程,需要通过嘈杂的网桥发送数据
- javascript - Javascript未从动态生成的表单提交数据
- datetime - 在 SAS 中随时间跨度创建变量
- matlab - 如何将字符串转换为将传递给绘图函数的变量名
- javascript - 与 let 和 var 相比,使用 const 有什么优势?
- excel - 根据标题名称移动列
- python - 如何将具有空值的列转换为日期时间格式?