Download the official demo,4.7, ran in the terminal, the test was successful (not packaged)
In the test to reduce the unnecessary files, using the HTTP protocol run (the file protocol is not OK)
The simplest directory is as follows:
I put the above file in a folder called demo, run the NPM command:
Because I have a cache before, so the download will be very fast, otherwise it will take a long time.
After all, the Node_modules folder volume is still quite large:
If you are not satisfied with the volume of the build that is not built, we recommend packaging it with a packaging tool (I won't show
Then use the Temporary HTTP protocol (server environment) such as go live to open index.html, the result is as follows:
The project has been shared to the bottom of the network disk connection.
Official demo address: Dot Me
I am streamlining the example: Point me
ArcGIS API for JavaScript and NPM example run