Skip to content

Commit c052d54

Browse files
committed
add link to component template repo
1 parent c8443cd commit c052d54

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

docs/source/javascript-components.rst

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,12 @@ Import Javascript Bundles
7676
For projects that will be shared with others we recommend bundling your Javascript with
7777
`rollup <https://rollupjs.org/guide/en/>`__ or `webpack <https://webpack.js.org/>`__
7878
into a
79-
`web module <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules>`__.
80-
Once you've done this, you can distribute bundled javascript in your Python package and
81-
integrate it into IDOM by defining :class:`~idom.client.module.Module` objects that
82-
load them from source:
79+
`web module <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules>`__
80+
by using IDOM's
81+
`template repository <https://github.com/idom-team/idom-react-component-cookiecutter>`__
82+
as a blueprint. Once you've done this, you can distribute bundled javascript in your
83+
Python package and integrate it into IDOM by defining
84+
:class:`~idom.client.module.Module` objects that load them from source:
8385

8486
.. code-block::
8587
@@ -91,11 +93,6 @@ NPM_. Rather, they can use ``pip`` to install your Python package without any ot
9193
steps because the bundled Javascript you distributed with it will be symlinked into the
9294
IDOM client at runtime.
9395

94-
.. note::
95-
96-
In the future IDOM will come with tools to help author Python packages with bundled
97-
Javascript
98-
9996
With that said, if you just want to see how this all works it might be easiest to hook
10097
in simple a hand-crafted Javascript component. In the example to follow we'll create a
10198
very basic SVG line chart. The catch though is that we are limited to using Javascript

0 commit comments

Comments
 (0)