mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Clarify the name of plugin used in /-/static-plugins/
This commit is contained in:
parent
c38c42948c
commit
7e3cfd9cf7
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue