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
134134private CDN, this will likely be more complicated.
135135
136136In 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 `
138138where you can then load any of its exports:
139139
140140.. code-block ::
141141
142142 import idom
143143
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")
145145 YourComponent = idom.web.export(your_module, "YourComponent")
146146
147147
You can’t perform that action at this time.
0 commit comments