mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-english.git
synced 2025-10-04 03:51:03 +08:00
Update create.rst
This commit is contained in:
parent
26089b3b5e
commit
fddc0e0662
1 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ Linking the plugin
|
||||||
To test the plugin before going through the process of publishing, try linking the plugin into the node_module folder of your instance.
|
To test the plugin before going through the process of publishing, try linking the plugin into the node_module folder of your instance.
|
||||||
https://docs.npmjs.com/cli/link
|
https://docs.npmjs.com/cli/link
|
||||||
|
|
||||||
Using the terminal in the folder were you created your plugin, ``/plugins/{YOUR-PLUGIN-ID}``.
|
Using the terminal in the folder were you created your plugin, ``/plugins/my-plugin``.
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
|
@ -175,7 +175,7 @@ Then in the source folder were nodebb is installed.
|
||||||
|
|
||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
npm link {YOUR-PLUGIN-ID
|
npm link my-plugin
|
||||||
|
|
||||||
Your plugin should now be available in admin to be activated.
|
Your plugin should now be available in admin to be activated.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue