dxf-viewer
dxf-viewer copied to clipboard
Module parse failed
dxf-viewer/src/DxfViewer.js 834:60 Module parse failed: Unexpected token (834:60) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
**const material = materialFactory.call(this.viewer, this.viewer._TransformColor(color),
instanceBatch?.GetInstanceType() ?? InstanceType.NONE)**
{ "three": "^0.155.0" }
If you are targeting an old JS version, see example repository for Babel example. Make sure null coalescing operator and optional chaining is enabled in Babel config. Also ensure the library is transpiled in Vue config.