nodebb-plugin-quickstart/README.md

18 lines
952 B
Markdown
Raw Normal View History

2014-06-04 16:08:24 -04:00
# Quickstart Plugin for NodeBB
2025-02-18 09:49:25 -05:00
A starter kit for quickly creating NodeBB plugins. Comes with a pre-setup SCSS file, server side JS script with an `static:app.load` hook, and a client-side script. Most plugins need at least one of the above, so this ought to save you some time. For a full list of hooks have a look at our [wiki page](https://github.com/NodeBB/NodeBB/wiki/Hooks), and for more information about creating plugins please visit our [documentation portal](https://docs.nodebb.org/).
2014-06-04 16:08:24 -04:00
Fork this or copy it, and using your favourite text editor find and replace all instances of `nodebb-plugin-quickstart` with `nodebb-plugin-your-plugins-name`. Change the author's name in the LICENSE and package.json files.
## Hello World
Really simple, just edit `public/lib/main.js` and paste in `console.log('hello world');`, and that's it!
2014-06-04 16:08:24 -04:00
## Installation
npm install nodebb-plugin-quickstart
## Screenshots
2014-06-04 16:10:38 -04:00
Don't forget to add screenshots!