arcgis js api 4.0 beta3这里面建议都是用模块化引入,不建议使用相对路径
比如:define(["./declare","./accessorSupport/Properties"],
应该使用define(["esri/core/declare","esri/core/accessorSupport/Properties"],
English Translation:
arcgis js api 4.0 beta3 inside this proposal is the introduction of modular, does not recommend the use of a relative path
For example: define (["./ declare", "./ accessorSupport / Properties"],
Should define (["esri / core / declare", "esri / core / accessorSupport / Properties"],
Message was edited by: Robert Scheitlin, GISP to add English translation
這是一個問題,或者你只是提出建議給開發團隊?
English Translation:
Is this is a problem, or you are just suggestions to the development team?
也是提出建议给开发团队,也是寻求怎么解决这个问题。我在nodejs中使用,使用grunt-contrib-requirejs compile进行文件压缩,里面都是相对路径,无法进行。
English translation:
Also suggestions to the development team, but also to seek how to solve this problem.
I use nodejs using grunt-contrib-requirejs compile File compression, which is a relative path, can not proceed.
Huang,
这不是我的专业领域,所以我说的英文翻译,以帮助您得到回应。
This is not my area of expertise so I added the English translation to help you get a response.
Thanks a lot! I forget that the topics are in english.