From 641a4cdb0051dc82815720127f6589ecf9d9f8e5 Mon Sep 17 00:00:00 2001 From: Orel Date: Fri, 5 Feb 2021 20:46:00 +0100 Subject: [PATCH] sockJS include when playing with jsclient lib --- docs/jsclientlib/index.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/jsclientlib/index.rst b/docs/jsclientlib/index.rst index 43b734769..4d22e8876 100644 --- a/docs/jsclientlib/index.rst +++ b/docs/jsclientlib/index.rst @@ -40,6 +40,12 @@ because the library depends on those to be available (as ``$`` and ``_``). You c +Moreover, if you need to use the socket module, you'll need to include sockJS. You can embedded it like this: + +.. code-block:: html+jinja + + + Note that all components depend on the ``base`` component to be present, so if you are only including a select number of components, make sure to at the very least include that one to be able to utilize the client.