NodeBB Plugin best practices
-
I'm thinking it would be good if we establish some best practices for NodeBB plugin development.
Feel free to contribute by replying and I'll add it to the list.
- Database keys should start with
plugin:[your-plugin-name]:
ex: if the plugin isnodebb-plugin-mentions
then the database keys would start withplugin:mentions:
- Use sockets instead of ajax
- Use CSS transitions instead of jQuery animations, trigger them by toggling classes on the elements
- Use Bootstrap elements as much as possible or not at all
- your suggestion here
- Database keys should start with
Copyright © 2024 NodeBB | Contributors