11Running IDOM
22============
33
4- The simplest way to run IDOM is with the :func: `~idom.server .utils.run ` function. This
4+ The simplest way to run IDOM is with the :func: `~idom.backend .utils.run ` function. This
55is the method you'll see used throughout this documentation. However, this executes your
66application using a development server which is great for testing, but probably not what
77if you're :ref: `deploying in production <Running IDOM in Production >`. Below are some
@@ -20,10 +20,10 @@ will follow a pattern similar to the following:
2020
2121.. code-block ::
2222
23- from my_chosen_server import Application
23+ from my_chosen_backend import Application
2424
2525 from idom import component, html
26- from idom.server.my_chosen_server import configure
26+ from idom.backend.my_chosen_backend import configure
2727
2828
2929 @component
@@ -151,17 +151,17 @@ respective ``configure()`` functions in the following way:
151151
152152.. code-block ::
153153
154- from idom.server .<implementation> import configure, Options
154+ from idom.backend .<implementation> import configure, Options
155155
156156 configure(app, MyComponent, Options(...))
157157
158- To learn more read about the options for your chosen server ``<implementation> ``:
158+ To learn more read about the options for your chosen backend ``<implementation> ``:
159159
160- - :class: `idom.server .fastapi.Options `
161- - :class: `idom.server .flask.Options `
162- - :class: `idom.server .sanic.Options `
163- - :class: `idom.server .starlette.Options `
164- - :class: `idom.server .tornado.Options `
160+ - :class: `idom.backend .fastapi.Options `
161+ - :class: `idom.backend .flask.Options `
162+ - :class: `idom.backend .sanic.Options `
163+ - :class: `idom.backend .starlette.Options `
164+ - :class: `idom.backend .tornado.Options `
165165
166166
167167Embed in an Existing Webpage
0 commit comments