File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,14 +134,14 @@ preparing any package that's been uploaded to NPM_. If you need to roll with you
134
134
private CDN, this will likely be more complicated.
135
135
136
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 `
137
+ the URL where your package can be found to :func: `~idom.web.module.module_from_url `
138
138
where you can then load any of its exports:
139
139
140
140
.. code-block ::
141
141
142
142
import idom
143
143
144
- your_module = ido.web.module_from_file ("https://some.cdn/your-module")
144
+ your_module = ido.web.module_from_url ("https://some.cdn/your-module")
145
145
YourComponent = idom.web.export(your_module, "YourComponent")
146
146
147
147
You can’t perform that action at this time.
0 commit comments