kopia lustrzana https://github.com/simonw/datasette
Clarify the name of plugin used in /-/static-plugins/
rodzic
c38c42948c
commit
7e3cfd9cf7
|
@ -244,6 +244,8 @@ you have one:
|
|||
"/-/static-plugins/your-plugin/app.js"
|
||||
]
|
||||
|
||||
Note that `your-plugin` here should be the hyphenated plugin name - the name that is displayed in the list on the `/-/plugins` debug page.
|
||||
|
||||
If your code uses `JavaScript modules <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules>`__ you should include the ``"module": True`` key. See :ref:`customization_css_and_javascript` for more details.
|
||||
|
||||
.. code-block:: python
|
||||
|
|
Ładowanie…
Reference in New Issue