We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09710e3 commit a130140Copy full SHA for a130140
docs/source/javascript-components.rst
@@ -134,14 +134,14 @@ preparing any package that's been uploaded to NPM_. If you need to roll with you
134
private CDN, this will likely be more complicated.
135
136
In either case though, on the Python side, things are quite simple. You need only pass
137
-the URL where your package can be found to :func:`~idom.web.module.module_from_file`
+the URL where your package can be found to :func:`~idom.web.module.module_from_url`
138
where you can then load any of its exports:
139
140
.. code-block::
141
142
import idom
143
144
- your_module = ido.web.module_from_file("https://some.cdn/your-module")
+ your_module = ido.web.module_from_url("https://some.cdn/your-module")
145
YourComponent = idom.web.export(your_module, "YourComponent")
146
147
0 commit comments