How to access settings values in "quickstart" plugin
Thadeusz Lay last edited by
It's about this plugin: https://github.com/NodeBB/nodebb-plugin-quickstart
In the admin page it says I can access the values in Setting1 or Setting2 with:
I don't really know where to call it. I searched for "meta" but couldn't find it. So, I pasted in every JS file I could find within that plugin folder and tried to log it out. But in vain. It doesn't recognize "meta"
@Thadeusz-Lay so are you trying to create your own plugin?
metais a NodeBB module. You have to require it from NodeBB with
require.main.require('./src/meta')on the server side.