# Loading vtk.js dynamically

**URL:** <https://discourse.vtk.org/t/loading-vtk-js-dynamically/5755>\
**Category:** Web\
**Created:** [May 10, 2021, 3:30pm UTC](https://discourse.vtk.org/t/loading-vtk-js-dynamically/5755 "2021-05-10T15:30:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![a-u](https://discourse.vtk.org/user_avatar/discourse.vtk.org/a-u/32/3325_2.png) [@a-u](https://discourse.vtk.org/u/a-u)\
**Post date:** [May 10, 2021, 8:24pm UTC](https://discourse.vtk.org/t/loading-vtk-js-dynamically/5755/3 "2021-05-10T20:24:52Z")

</div>

requirejs does add `.js` on its own, so there is no typo in the location. Is there anything special about vtk.js that could cause such intermittent failures? I tested both approaches with e.g. d3.js and they seem to always work.

---

_[View the full topic](https://discourse.vtk.org/t/loading-vtk-js-dynamically/5755)._
