Made a child theme based on Persona for some edits. Instead of publishing it to npm symlinked it, theme folder being outside public_html( where nodebb install resides). How can I load a js file to use with it? If I put ./nodebb-theme-mytheme/lib/script.js" inside plugins.json doesn't work.
It gets messy when you try to hack it this way. I was attempting to remove the sidebar code from home.tpl, then copy it to <div class="col-xs-3">//sidebar content</div> infooter.tpl, but it does not work very well. The best approach would be to require a sidebar.tpl.
Thanks @julian. I've been using a similar method since the time in which I started this topic. Everything is working great for me now. I just needed some more time to become familiar with the LESS files. Thanks to all for replying!