No webpack simple vue + cesium can display normally
Code is as follows:
var tileset = new Cesium.Cesium3DTileset ({url:". / dachen/tileset.json"})
viewer.scene.primitives.add (tileset)
tileset.readyPromise.then (function () {.})
vue3:
export default {
}
tileset.readyPromise.thenaddurl-sharp-sharp-sharp
require:
the problem should be when webpack is built, but there is still no way to start (webpack configuration refers to online and official websites, and application environment is generated using vue-cli)