[slush-nodebb-plugin] NodeBB New Plugin Generator - Request for feedback
-
Nice work!
-
Thank you!
-
Awesome. I think the term for this is a Yeoman Generator?
-
@psychobunny I had looked at the Yeoman/Grunt approach, but this uses Slush/Gulp.
-
Ha! Cool. Thanks!
-
@rbeer Oh man, you're on it! I'll check out the pull request.
-
Released a new version with some tweaks by @rbeer
https://www.npmjs.com/package/slush-nodebb-pluginThanks @rbeer
-
@lulzdev Like what?
-
many javascripts would require a custom plugin to use with Nodebb, the more plugins you use the more expensive developing becomes. One that comes to mind offhand is the javascript meme generator. Just trying to understand the new hotness everyone is happy about.
-
@lulzdev You can include JavaScript in the custom HTML header section in the ACP
-
@lulzdev I don't think so
-
@lulzdev the generator can register a js file in the plugin.json and include a stub file for you. Give it a try and let me know how it goes.
-
Just a note that I updated this plugin to correctly do the two part NodeBB custom routes (api/rendered). If anyone has any feedback, I'd appreciate it.
-
@lulzdev Sorry for the late reply, but I just ran into a javascript/css inclusion case where I wanted both included as static files for dev. I think just overriding the header.tpl and then linking to static js/css files in your plugin can be good for dev purposes.