I am using successfully able to load and render PLY meshes (using code below).
<template>
<vtk-view>
<vtk-geometry-representation>
<vtk-reader vtkClass="vtkPLYReader" :url="meshURL" resetCameraOnUpdate />
</vtk-geometry-representation>
</vtk-view>
</template>
From vue-vtk-js/AvailableClasses.js at master · Kitware/vue-vtk-js · GitHub I understand that for now PLY and STL are supported file formats for vue-vtk-js, correct?
At the same time I understand the legacy ASCII VTK format is actually supported as demoed in vtk.js by loading vtk-js/sphere.vtk at master · Kitware/vtk-js · GitHub
So in theory support for that could be added by adding import 'vtk.js/Sources/IO/Legacy/PolyDataReader';
into vue-vtk-js/AvailableClasses.js at master · Kitware/vue-vtk-js · GitHub and then using
<vtk-reader vtkClass="vtkPolyDataReader" :url="meshURL" />
Would that work?