In offline environment how to set calcite module for the Exb dev version(v1.17)?
There is no introcution on this topic in the official document.
We'll update the doc in the coming release.
Hi JunshanLiu,
Follow the steps above, got the problem as below.
Have you copied this folder to your web server? It seems there is no index.js (in your snapshot) file in the folder.
yes, copied. There is no index.js file in this folder.
@baohuachu7 I guess you may use the wrong URL for the "calciteComponentsUrl".
There is a "calcite-components" folder in the "dist" folder, but the "calciteComponentsUrl" should point to the URL you deployed, which does not have the "index.js", but it should have the "calcite.esm.js"
@JunshanLiu When we deploy calcite on IIS, we get a No 'Access-Control-Allow-Origin' header is present on the requested resource error when trying to create a new project. Any pointers on how we can get around this?
The server that hosts the Maps SDK or Calcite needs to support CORS, see https://developers.arcgis.com/experience-builder/guide/install-guide/#offline-install